svn commit: r236975 - stable/9/sys/dev/aic7xxx/aicasm
Dimitry Andric
dim at FreeBSD.org
Tue Jun 12 21:03:25 UTC 2012
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
More information about the svn-src-stable-9
mailing list