From f5af6108d0c7f3fefb26388aa0bf848fc61482d8 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 16 Dec 2011 00:39:44 +0000 Subject: 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 --- lib/libsm/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libsm') diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile index ce590d7..f2c93b9 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 -- cgit v1.1