From owner-svn-src-stable-9@FreeBSD.ORG Tue Jun 12 21:03:25 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EB27106568E; Tue, 12 Jun 2012 21:03:25 +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 6933E8FC0C; Tue, 12 Jun 2012 21:03:25 +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 q5CL3P4c075605; Tue, 12 Jun 2012 21:03:25 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q5CL3PSY075603; Tue, 12 Jun 2012 21:03:25 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201206122103.q5CL3PSY075603@svn.freebsd.org> From: Dimitry Andric Date: Tue, 12 Jun 2012 21:03:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r236975 - stable/9/sys/dev/aic7xxx/aicasm X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 21:03:25 -0000 Author: dim Date: Tue Jun 12 21:03:24 2012 New Revision: 236975 URL: http://svn.freebsd.org/changeset/base/236975 Log: MFC r236578: Fix build of aicasm when CC=clang. This was due to a side-effect of the EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when building this particular program. However, with clang 3.1 and -Werror, such unused argument warnings are flagged as errors, causing buildkernel to fail at this stage, due to the -nostdinc flag passed during linking. Since the -nostdinc flag isn't actually needed, just remove it. Modified: stable/9/sys/dev/aic7xxx/aicasm/Makefile Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/dev/aic7xxx/aicasm/Makefile ============================================================================== --- stable/9/sys/dev/aic7xxx/aicasm/Makefile Tue Jun 12 20:55:57 2012 (r236974) +++ stable/9/sys/dev/aic7xxx/aicasm/Makefile Tue Jun 12 21:03:24 2012 (r236975) @@ -24,8 +24,7 @@ WARNS?= 5 DEPENDFILE= .depend_aicasm .endif -NOSTDINC= -nostdinc -CFLAGS+= ${NOSTDINC} -I/usr/include -I. +CFLAGS+= -I. .ifdef MAKESRCPATH CFLAGS+= -I${MAKESRCPATH} .endif