Date: Mon, 19 Dec 2011 13:35:45 +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: r228707 - head/usr.sbin/sendmail Message-ID: <201112191335.pBJDZjY0059753@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Mon Dec 19 13:35:44 2011 New Revision: 228707 URL: http://svn.freebsd.org/changeset/base/228707 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.sbin/sendmail/Makefile Modified: head/usr.sbin/sendmail/Makefile ============================================================================== --- head/usr.sbin/sendmail/Makefile Mon Dec 19 13:14:57 2011 (r228706) +++ head/usr.sbin/sendmail/Makefile Mon Dec 19 13:35:44 2011 (r228707) @@ -45,6 +45,13 @@ CFLAGS+= -DNETINET6 WARNS?= 1 +.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 make them non-fatal for now. +NO_WERROR= +.endif + DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112191335.pBJDZjY0059753>