svn commit: r228588 - head/libexec/smrsh

Dimitry Andric dim at FreeBSD.org
Fri Dec 16 16:32:08 UTC 2011


Author: dim
Date: Fri Dec 16 16:32:08 2011
New Revision: 228588
URL: http://svn.freebsd.org/changeset/base/228588

Log:
  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

Modified:
  head/libexec/smrsh/Makefile

Modified: head/libexec/smrsh/Makefile
==============================================================================
--- head/libexec/smrsh/Makefile	Fri Dec 16 16:29:51 2011	(r228587)
+++ head/libexec/smrsh/Makefile	Fri Dec 16 16:32:08 2011	(r228588)
@@ -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
 


More information about the svn-src-head mailing list