summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/Makefile.freebsd')
-rw-r--r--lib/libarchive/Makefile.freebsd10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libarchive/Makefile.freebsd b/lib/libarchive/Makefile.freebsd
index 2abc4bd..8e13dcb 100644
--- a/lib/libarchive/Makefile.freebsd
+++ b/lib/libarchive/Makefile.freebsd
@@ -109,13 +109,13 @@ MLINKS += libarchive.3 archive.3
INCS = archive.h archive_entry.h
-CFLAGS+=-DDEBUG -g
.if defined(DMALLOC)
-CFLAGS+=-DDMALLOC -I/usr/local/include
-LDFLAGS+=-L/usr/local/lib -ldmalloc
+DEBUG_FLAGS+= -DDEBUG -g
+CFLAGS+= -DHAVE_DMALLOC -I/usr/local/include
+LDFLAGS+= -L/usr/local/lib -ldmalloc
.endif
-# Should be WARNS=10, except that zlib.h is borked. <sigh>
-WARNS?= 3
+# Should be WARNS=6, except that zlib.h is borked. <sigh>
+WARNS?= 3
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud