Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 21:03:25 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r236975 - stable/9/sys/dev/aic7xxx/aicasm
Message-ID:  <201206122103.q5CL3PSY075603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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