aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-16 15:58:38 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-16 15:58:38 +0000
commit4df50ce813db5d75126500b324c0b19ae4d1520d (patch)
tree5cebfb333e028403d4f11d75c7539122849a11c4 /libexec
parent747a8c81c71d66b7afe4545c36a02b112b30656f (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/mail.local/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index 3e59609e893e0..345e2a4603a86 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -12,6 +12,13 @@ CFLAGS+=-I${SENDMAIL_DIR}/include -I.
WARNS?= 2
WFORMAT=0
+.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
+
LIBSMDIR= ${.OBJDIR}/../../lib/libsm
LIBSM= ${LIBSMDIR}/libsm.a