Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 16:32:08 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228588 - head/libexec/smrsh
Message-ID:  <201112161632.pBGGW85h016886@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112161632.pBGGW85h016886>