summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-17 18:39:04 +0000
committerdim <dim@FreeBSD.org>2011-12-17 18:39:04 +0000
commit485500f77ecf504735471fd5c4bd9398f32277c4 (patch)
tree6436c4feecd205614cca779189891216bc7ae7f0 /usr.bin
parentc98bc3558c0be9ae1a423c67c8beb91607b93dac (diff)
downloadFreeBSD-src-485500f77ecf504735471fd5c4bd9398f32277c4.zip
FreeBSD-src-485500f77ecf504735471fd5c4bd9398f32277c4.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.bin')
-rw-r--r--usr.bin/vacation/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/vacation/Makefile b/usr.bin/vacation/Makefile
index 056f576..c20623c 100644
--- a/usr.bin/vacation/Makefile
+++ b/usr.bin/vacation/Makefile
@@ -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
OpenPOWER on IntegriCloud