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:
Carl Eugen Hoyos 2014-05-04 17:09:21 +02:00
parent 336901e060
commit a64df19c5b

1
configure vendored
View File

@ -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