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-19 13:35:44 +00:00
parent fb39c80992
commit 842c3a3e59

View File

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