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
This commit is contained in:
parent
01a36e296d
commit
56e4bfe54d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236578
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user