Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 00:39:44 +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: r228558 - head/lib/libsm
Message-ID:  <201112160039.pBG0diAt077998@svn.freebsd.org>

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



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