summaryrefslogtreecommitdiffstats
path: root/libexec/smrsh
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-16 16:32:08 +0000
committerdim <dim@FreeBSD.org>2011-12-16 16:32:08 +0000
commit6c26696aca3b47357cf63920754b7084c4c9d108 (patch)
tree5e00529fde3cbf24a95b89995c21bc70a03426b7 /libexec/smrsh
parent9be38353d1944782fd993b22c9bd651c6738ab20 (diff)
downloadFreeBSD-src-6c26696aca3b47357cf63920754b7084c4c9d108.zip
FreeBSD-src-6c26696aca3b47357cf63920754b7084c4c9d108.tar.gz
Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now. MFC after: 1 week
Diffstat (limited to 'libexec/smrsh')
-rw-r--r--libexec/smrsh/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile
index ae86155..40eab7f 100644
--- a/libexec/smrsh/Makefile
+++ b/libexec/smrsh/Makefile
@@ -17,6 +17,13 @@ LDADD= ${LIBSM}
WARNS?= 2
+.if ${CC:T:Mclang} == "clang"
+# Unfortunately, clang gives warnings about sendmail code that cannot
+# be turned off yet. Since this is contrib code, and we don't really
+# care about the warnings, just turn make them non-fatal for now.
+NO_WERROR=
+.endif
+
SRCS+= sm_os.h
CLEANFILES+=sm_os.h
OpenPOWER on IntegriCloud