From 6c26696aca3b47357cf63920754b7084c4c9d108 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 16 Dec 2011 16:32:08 +0000 Subject: 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 --- libexec/smrsh/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libexec/smrsh') diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile index ae86155..40eab7f 100644 --- a/libexec/smrsh/Makefile +++ b/libexec/smrsh/Makefile @@ -17,6 +17,13 @@ LDADD= ${LIBSM} 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 + SRCS+= sm_os.h CLEANFILES+=sm_os.h -- cgit v1.1