summaryrefslogtreecommitdiffstats
path: root/libexec/smrsh
diff options
context:
space:
mode:
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