diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-01-02 09:58:07 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-01-02 09:58:07 +0000 |
commit | daaf5759104f210a9315f49f80f1e0f01a8b3bff (patch) | |
tree | 040818bcab6b7921d3cb5cb2ff04c4d488e8d3ea /lib/libcompat | |
parent | 1100c0013116f4af50d7a5b8bf23db2a13892714 (diff) | |
download | src-test-daaf5759104f210a9315f49f80f1e0f01a8b3bff.tar.gz src-test-daaf5759104f210a9315f49f80f1e0f01a8b3bff.zip |
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.
Notes
Notes:
svn path=/head/; revision=201381
Diffstat (limited to 'lib/libcompat')
-rw-r--r-- | lib/libcompat/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile index 106bab970af45..2ca46f0eb57b9 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 \ |