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:
Dimitry Andric 2011-12-16 15:58:38 +00:00
parent 747a8c81c7
commit 4df50ce813
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228585

View file

@ -12,6 +12,13 @@ CFLAGS+=-I${SENDMAIL_DIR}/include -I.
WARNS?= 2
WFORMAT=0
.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