summaryrefslogtreecommitdiffstats
path: root/lib/libsm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsm/Makefile')
-rw-r--r--lib/libsm/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index ce590d7..661e87a 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -18,6 +18,13 @@ CFLAGS+=${SENDMAIL_CFLAGS}
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 make them non-fatal for now.
+NO_WERROR=
+.endif
+
LIB= sm
SRCS+= sm_os.h
OpenPOWER on IntegriCloud