summaryrefslogtreecommitdiffstats
path: root/libexec/smrsh
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/smrsh
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/smrsh')
-rw-r--r--libexec/smrsh/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile
index 6fd2801..ae86155 100644
--- a/libexec/smrsh/Makefile
+++ b/libexec/smrsh/Makefile
@@ -15,6 +15,8 @@ LIBSM= ${LIBSMDIR}/libsm.a
DPADD= ${LIBSM}
LDADD= ${LIBSM}
+WARNS?= 2
+
SRCS+= sm_os.h
CLEANFILES+=sm_os.h
OpenPOWER on IntegriCloud