diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile index ce590d71f058..f2c93b991d66 100644 --- a/lib/libsm/Makefile +++ b/lib/libsm/Makefile @@ -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