From owner-svn-src-all@FreeBSD.ORG Fri Dec 16 15:58:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7A301065676; Fri, 16 Dec 2011 15:58:38 +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 D657D8FC1F; Fri, 16 Dec 2011 15:58:38 +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 pBGFwcQd014774; Fri, 16 Dec 2011 15:58:38 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBGFwcJb014772; Fri, 16 Dec 2011 15:58:38 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112161558.pBGFwcJb014772@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 15:58:38 +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: r228585 - head/libexec/mail.local X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 15:58:39 -0000 Author: dim Date: Fri Dec 16 15:58:38 2011 New Revision: 228585 URL: http://svn.freebsd.org/changeset/base/228585 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/mail.local/Makefile Modified: head/libexec/mail.local/Makefile ============================================================================== --- head/libexec/mail.local/Makefile Fri Dec 16 15:55:43 2011 (r228584) +++ head/libexec/mail.local/Makefile Fri Dec 16 15:58:38 2011 (r228585) @@ -12,6 +12,13 @@ CFLAGS+=-I${SENDMAIL_DIR}/include -I. WARNS?= 2 WFORMAT=0 +.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