From b1c1be30d7f9c5907f81c3cacba28c6d7de3d805 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 2 Jan 2010 09:50:19 +0000 Subject: 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. --- libexec/smrsh/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libexec/smrsh/Makefile') 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 -- cgit v1.1