summaryrefslogtreecommitdiffstats
path: root/lib/libcompat/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 09:58:07 +0000
committered <ed@FreeBSD.org>2010-01-02 09:58:07 +0000
commit09818ac28e064437e7ab61eb0cd30245d17d27ea (patch)
tree040818bcab6b7921d3cb5cb2ff04c4d488e8d3ea /lib/libcompat/Makefile
parentb1c1be30d7f9c5907f81c3cacba28c6d7de3d805 (diff)
downloadFreeBSD-src-09818ac28e064437e7ab61eb0cd30245d17d27ea.zip
FreeBSD-src-09818ac28e064437e7ab61eb0cd30245d17d27ea.tar.gz
Build lib/ with WARNS=6 by default.
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
Diffstat (limited to 'lib/libcompat/Makefile')
-rw-r--r--lib/libcompat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile
index 106bab9..2ca46f0 100644
--- a/lib/libcompat/Makefile
+++ b/lib/libcompat/Makefile
@@ -5,6 +5,8 @@ LIB=compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NO_PIC=
+WARNS?= 1
+
.PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
OpenPOWER on IntegriCloud