aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-04 17:09:21 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-04 17:09:21 +0200
commita64df19c5bd22f543a254a7b93c82ade50038ff5 (patch)
treede3518fbcc17448659438895d03780036621f75d /configure
parent336901e0601ed8067018e1c51c53b5114b887cf2 (diff)
downloadffmpeg-a64df19c5bd22f543a254a7b93c82ade50038ff5.tar.gz
Disable inline_asm_direct_symbol_refs if lto was requested.
This fixes link time optimizations with gcc without disabling inline asm. Fixes ticket #2941.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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