Disable inline_asm_direct_symbol_refs if lto was requested.

This fixes link time optimizations with gcc without disabling inline asm.

Fixes ticket #2941.
pull/68/head
Carl Eugen Hoyos 11 years ago
parent 336901e060
commit a64df19c5b
  1. 1
      configure

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…
Cancel
Save