mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
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
e9db6b2474
commit
cb3b0d8fb9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228652
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user