diff options
author | dim <dim@FreeBSD.org> | 2012-06-04 20:36:11 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-06-04 20:36:11 +0000 |
commit | b6d1e7df8efbcc80e4e9a159132cc63be7231197 (patch) | |
tree | 37e8eb83cc77932267bb2bc2632a021be22fb838 | |
parent | 6c78422cc55423c6d023c8d5c85b2a445d2f1b14 (diff) | |
download | FreeBSD-src-b6d1e7df8efbcc80e4e9a159132cc63be7231197.zip FreeBSD-src-b6d1e7df8efbcc80e4e9a159132cc63be7231197.tar.gz |
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
-rw-r--r-- | sys/dev/aic7xxx/aicasm/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aicasm/Makefile b/sys/dev/aic7xxx/aicasm/Makefile index b8352d6..97b93d0 100644 --- a/sys/dev/aic7xxx/aicasm/Makefile +++ b/sys/dev/aic7xxx/aicasm/Makefile @@ -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 |