summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-02-12 04:11:40 +0000
committerkientzle <kientzle@FreeBSD.org>2004-02-12 04:11:40 +0000
commit4ead4f9e9eb440b80409691485240900ab6bb74e (patch)
tree17ca77bc9e4d8e21eafb7503310c989d59a3f83b /lib
parent13547d8fdcf9c2c03bac24080ab34a1000856f40 (diff)
downloadFreeBSD-src-4ead4f9e9eb440b80409691485240900ab6bb74e.zip
FreeBSD-src-4ead4f9e9eb440b80409691485240900ab6bb74e.tar.gz
libarchive itself is now completely clean at WARNS=10 on all architectures.
Unfortunately, the stock zlib.h is not: line 885: 'err' parameter shadows global 'err' definition from <err.h> Back the WARNS level down to 3 to accomodate borked zlib.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/Makefile4
-rw-r--r--lib/libarchive/Makefile.freebsd4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index e59b243..2abc4bd 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -114,6 +114,8 @@ CFLAGS+=-DDEBUG -g
CFLAGS+=-DDMALLOC -I/usr/local/include
LDFLAGS+=-L/usr/local/lib -ldmalloc
.endif
-WARNS?= 10
+
+# Should be WARNS=10, except that zlib.h is borked. <sigh>
+WARNS?= 3
.include <bsd.lib.mk>
diff --git a/lib/libarchive/Makefile.freebsd b/lib/libarchive/Makefile.freebsd
index e59b243..2abc4bd 100644
--- a/lib/libarchive/Makefile.freebsd
+++ b/lib/libarchive/Makefile.freebsd
@@ -114,6 +114,8 @@ CFLAGS+=-DDEBUG -g
CFLAGS+=-DDMALLOC -I/usr/local/include
LDFLAGS+=-L/usr/local/lib -ldmalloc
.endif
-WARNS?= 10
+
+# Should be WARNS=10, except that zlib.h is borked. <sigh>
+WARNS?= 3
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud