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:
parent
75be8e3194
commit
ef7c6e2e94
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user