Author: dim
Date: Mon Dec 19 13:35:44 2011
New Revision: 228707
URL: http://svn.freebsd.org/changeset/base/228707
Log:
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
Modified:
head/usr.sbin/sendmail/Makefile
Modified: head/usr.sbin/sendmail/Makefile
==============================================================================
--- head/usr.sbin/sendmail/Makefile Mon Dec 19 13:14:57 2011
(r228706)
+++ head/usr.sbin/sendmail/Makefile Mon Dec 19 13:35:44 2011
(r228707)
@@ -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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"