summaryrefslogtreecommitdiffstats
path: root/lib/libsm/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-16 00:39:44 +0000
committerdim <dim@FreeBSD.org>2011-12-16 00:39:44 +0000
commitf5af6108d0c7f3fefb26388aa0bf848fc61482d8 (patch)
treee89fa1ab99761b23c984e3db9c82983aacbb5053 /lib/libsm/Makefile
parent3531846fa5f4b77d760e99879743fc445888caa9 (diff)
downloadFreeBSD-src-f5af6108d0c7f3fefb26388aa0bf848fc61482d8.zip
FreeBSD-src-f5af6108d0c7f3fefb26388aa0bf848fc61482d8.tar.gz
Unfortunately, clang gives a warning 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 '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..f2c93b9 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 a warning 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
+
LIB= sm
SRCS+= sm_os.h
OpenPOWER on IntegriCloud