From owner-svn-src-head@FreeBSD.ORG Fri Dec 16 16:32:08 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A41091065670; Fri, 16 Dec 2011 16:32:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 92CE88FC18; Fri, 16 Dec 2011 16:32:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBGGW8K3016888; Fri, 16 Dec 2011 16:32:08 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBGGW85h016886; Fri, 16 Dec 2011 16:32:08 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112161632.pBGGW85h016886@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 16:32:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228588 - head/libexec/smrsh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 16:32:08 -0000 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