Disable inline_asm_direct_symbol_refs if lto was requested.
This fixes link time optimizations with gcc without disabling inline asm. Fixes ticket #2941.
This commit is contained in:
parent
336901e060
commit
a64df19c5b
1
configure
vendored
1
configure
vendored
@ -4904,6 +4904,7 @@ if enabled lto; then
|
||||
test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
|
||||
check_cflags -flto
|
||||
check_ldflags -flto $cpuflags
|
||||
disable inline_asm_direct_symbol_refs
|
||||
fi
|
||||
|
||||
check_optflags $optflags
|
||||
|
Loading…
x
Reference in New Issue
Block a user