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:
parent
faa5d16da2
commit
8f610c093a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user