summaryrefslogtreecommitdiffstats
path: root/libexec/mknetid
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 09:50:19 +0000
committered <ed@FreeBSD.org>2010-01-02 09:50:19 +0000
commitb1c1be30d7f9c5907f81c3cacba28c6d7de3d805 (patch)
tree51df4f210477ce05c47ea90818f4ca05c7479989 /libexec/mknetid
parentfc5b3c2f3d91487092868736151ab5582343d5f4 (diff)
downloadFreeBSD-src-b1c1be30d7f9c5907f81c3cacba28c6d7de3d805.zip
FreeBSD-src-b1c1be30d7f9c5907f81c3cacba28c6d7de3d805.tar.gz
Make WARNS=6 the default for libexec/.
Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS.
Diffstat (limited to 'libexec/mknetid')
-rw-r--r--libexec/mknetid/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/mknetid/Makefile b/libexec/mknetid/Makefile
index 6941b8f..5ca0662 100644
--- a/libexec/mknetid/Makefile
+++ b/libexec/mknetid/Makefile
@@ -5,4 +5,6 @@ SRCS= mknetid.c hash.c parse_group.c
MAN= netid.5 mknetid.8
+WARNS?= 2
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud