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
This commit is contained in:
dim 2011-12-17 18:39:04 +00:00
parent c98bc3558c
commit 485500f77e

View File

@ -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