Unfortunately, clang gives a warning 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
562fc14bc9
commit
df5eee43c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228558
@ -18,6 +18,13 @@ CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
.if ${CC:T:Mclang} == "clang"
|
||||
# Unfortunately, clang gives a warning 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
|
||||
|
||||
LIB= sm
|
||||
|
||||
SRCS+= sm_os.h
|
||||
|
Loading…
Reference in New Issue
Block a user