From a64df19c5bd22f543a254a7b93c82ade50038ff5 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 4 May 2014 17:09:21 +0200 Subject: [PATCH] Disable inline_asm_direct_symbol_refs if lto was requested. This fixes link time optimizations with gcc without disabling inline asm. Fixes ticket #2941. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 32ea79f633..18b276c7ee 100755 --- a/configure +++ b/configure @@ -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