Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2011 18:39:05 +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: r228652 - head/usr.bin/vacation
Message-ID:  <201112171839.pBHId5gZ071820@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Dec 17 18:39:04 2011
New Revision: 228652
URL: http://svn.freebsd.org/changeset/base/228652

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/usr.bin/vacation/Makefile

Modified: head/usr.bin/vacation/Makefile
==============================================================================
--- head/usr.bin/vacation/Makefile	Sat Dec 17 18:18:36 2011	(r228651)
+++ head/usr.bin/vacation/Makefile	Sat Dec 17 18:39:04 2011	(r228652)
@@ -11,6 +11,13 @@ CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
 
 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
+
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
 LIBSM=		${LIBSMDIR}/libsm.a
 



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