diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-05-19 23:18:21 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-05-19 23:18:21 +0000 |
commit | d510ecb42bd6ad0347f383ae65f49ba70f833fb7 (patch) | |
tree | ec9c760c4690cee8f383a5f126a009b5f2c2399c /share/mk/bsd.kmod.mk | |
parent | a514569e9af544603208d61ed8a70a8e9a16be53 (diff) | |
download | src-d510ecb42bd6ad0347f383ae65f49ba70f833fb7.tar.gz src-d510ecb42bd6ad0347f383ae65f49ba70f833fb7.zip |
Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mk
to avoid polluting sys.mk. This directive controls the addition of
compiler warning flags to CFLAGS in a relatively compiler-neutral manner.
The idea is that WARNS can be set in Makefile.inc or in individual
Makefiles as they become clean, to prevent the introduction of new
warnings in the code. -Werror is added by default
Notes
Notes:
svn path=/head/; revision=76861
Diffstat (limited to 'share/mk/bsd.kmod.mk')
-rw-r--r-- | share/mk/bsd.kmod.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 73f9c14cf07c..586369f97ddc 100644 --- a/share/mk/bsd.kmod.mk +++ b/share/mk/bsd.kmod.mk @@ -11,3 +11,5 @@ SYSDIR= ${_dir} .endif .include "${SYSDIR}/conf/kmod.mk" + +.include <bsd.sys.mk> |