mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue