summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-19 13:35:44 +0000
committerdim <dim@FreeBSD.org>2011-12-19 13:35:44 +0000
commit842c3a3e59635f750f06bfddc19a112a6ae1519c (patch)
tree2c9dcf6488143d5db0d5c1088ceb17df23f1fd82 /usr.sbin/sendmail/Makefile
parentfb39c80992304fee53d1c9e153f8465caf26ab39 (diff)
downloadFreeBSD-src-842c3a3e59635f750f06bfddc19a112a6ae1519c.zip
FreeBSD-src-842c3a3e59635f750f06bfddc19a112a6ae1519c.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 'usr.sbin/sendmail/Makefile')
-rw-r--r--usr.sbin/sendmail/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index a9f7fbb..1eaebee 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -45,6 +45,13 @@ CFLAGS+= -DNETINET6
WARNS?= 1
+.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
+
DPADD= ${LIBUTIL} ${LIBWRAP}
LDADD= -lutil -lwrap
OpenPOWER on IntegriCloud