svn commit: r236578 - head/sys/dev/aic7xxx/aicasm
Dimitry Andric
dim at FreeBSD.org
Mon Jun 4 20:36:12 UTC 2012
Author: dim
Date: Mon Jun 4 20:36:11 2012
New Revision: 236578
URL: http://svn.freebsd.org/changeset/base/236578
Log:
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.
X-MFC-With: r236528
Modified:
head/sys/dev/aic7xxx/aicasm/Makefile
Modified: head/sys/dev/aic7xxx/aicasm/Makefile
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/Makefile Mon Jun 4 19:09:14 2012 (r236577)
+++ head/sys/dev/aic7xxx/aicasm/Makefile Mon Jun 4 20:36:11 2012 (r236578)
@@ -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
More information about the svn-src-all
mailing list