svn commit: r228652 - head/usr.bin/vacation
Dimitry Andric
dim at FreeBSD.org
Sat Dec 17 18:39:05 UTC 2011
Author: dim
Date: Sat Dec 17 18:39:04 2011
New Revision: 228652
URL: http://svn.freebsd.org/changeset/base/228652
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.bin/vacation/Makefile
Modified: head/usr.bin/vacation/Makefile
==============================================================================
--- head/usr.bin/vacation/Makefile Sat Dec 17 18:18:36 2011 (r228651)
+++ head/usr.bin/vacation/Makefile Sat Dec 17 18:39:04 2011 (r228652)
@@ -11,6 +11,13 @@ CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
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 turn make them non-fatal for now.
+NO_WERROR=
+.endif
+
LIBSMDIR= ${.OBJDIR}/../../lib/libsm
LIBSM= ${LIBSMDIR}/libsm.a
More information about the svn-src-head
mailing list