Put the conditional back. For the default case it isn't really needed,

but for the gcc case it still is on i386 and amd64's build of
sys/boot.

Submited by: dim@
This commit is contained in:
Warner Losh 2015-01-01 08:30:32 +00:00
parent faa5d16da2
commit 8f610c093a

View File

@ -110,7 +110,13 @@ CWARNFLAGS+= -Wno-format
CWARNFLAGS+= -Wno-unknown-pragmas
.endif # IGNORE_PRAGMA
# We need this conditional because many places that use it
# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.
# unconditionally, and can't easily use the CFLAGS.clang=
# mechanism.
.if ${COMPILER_TYPE} == "clang"
CLANG_NO_IAS= -no-integrated-as
.endif
CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
-mllvm -simplifycfg-dup-ret -mllvm -enable-gvn=false
CFLAGS.clang+= -Qunused-arguments