diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-06-04 20:36:11 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-06-04 20:36:11 +0000 |
commit | 56e4bfe54d67c60b9fe4933904a55dc8b0fff8d5 (patch) | |
tree | 37e8eb83cc77932267bb2bc2632a021be22fb838 /sys/dev/aic7xxx | |
parent | 01a36e296dc9dc97b148983cd2da5346280fa37f (diff) | |
download | src-56e4bfe54d67c60b9fe4933904a55dc8b0fff8d5.tar.gz src-56e4bfe54d67c60b9fe4933904a55dc8b0fff8d5.zip |
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
Notes
Notes:
svn path=/head/; revision=236578
Diffstat (limited to 'sys/dev/aic7xxx')
-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 b8352d67cf74..97b93d00e867 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 |