Correctly pass the -mllvm -enable-gvn=false flag in CLANG_OPT_SMALL
(this has to be passed as a combination of two flags). Should fix the case where the clang version is before 3.5.0. Submitted by: Pedro Arthur <bygrandao@gmail.com> X-MFC-With: r279018, r279378
This commit is contained in:
parent
3d653db063
commit
22a3c2dd5d
@ -128,9 +128,9 @@ CWARNFLAGS+= -Wno-unknown-pragmas
|
||||
CLANG_NO_IAS= -no-integrated-as
|
||||
.endif
|
||||
CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
|
||||
-mllvm -simplifycfg-dup-ret -mllvm
|
||||
-mllvm -simplifycfg-dup-ret
|
||||
.if ${COMPILER_VERSION} >= 30500
|
||||
CLANG_OPT_SMALL+= -enable-gvn=false
|
||||
CLANG_OPT_SMALL+= -mllvm -enable-gvn=false
|
||||
.endif
|
||||
CFLAGS.clang+= -Qunused-arguments
|
||||
.if ${MACHINE_CPUARCH} == "sparc64"
|
||||
|
Loading…
Reference in New Issue
Block a user