Re-enable using -mllvm -enable-load-pre=false in CLANG_OPT_SMALL for
clang versions before 3.5.0. This should enable building head's version of sys/boot/i386/boot2 on 9.x and 10.x again. Reported by: bz
This commit is contained in:
parent
dcf085860a
commit
ab0116f5fb
@ -131,6 +131,8 @@ CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
|
||||
-mllvm -simplifycfg-dup-ret
|
||||
.if ${COMPILER_VERSION} >= 30500
|
||||
CLANG_OPT_SMALL+= -mllvm -enable-gvn=false
|
||||
.else
|
||||
CLANG_OPT_SMALL+= -mllvm -enable-load-pre=false
|
||||
.endif
|
||||
CFLAGS.clang+= -Qunused-arguments
|
||||
.if ${MACHINE_CPUARCH} == "sparc64"
|
||||
|
Loading…
Reference in New Issue
Block a user