svn commit: r228558 - head/lib/libsm

Dimitry Andric dim at FreeBSD.org
Fri Dec 16 00:39:45 UTC 2011


Author: dim
Date: Fri Dec 16 00:39:44 2011
New Revision: 228558
URL: http://svn.freebsd.org/changeset/base/228558

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

Modified:
  head/lib/libsm/Makefile

Modified: head/lib/libsm/Makefile
==============================================================================
--- head/lib/libsm/Makefile	Fri Dec 16 00:13:43 2011	(r228557)
+++ head/lib/libsm/Makefile	Fri Dec 16 00:39:44 2011	(r228558)
@@ -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


More information about the svn-src-all mailing list