[FFmpeg-cvslog] Disable inline_asm_direct_symbol_refs if lto was requested.

Carl Eugen Hoyos git at videolan.org
Sun May 4 18:31:54 CEST 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun May  4 17:09:21 2014 +0200| [a64df19c5bd22f543a254a7b93c82ade50038ff5] | committer: Carl Eugen Hoyos

Disable inline_asm_direct_symbol_refs if lto was requested.

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

Fixes ticket #2941.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a64df19c5bd22f543a254a7b93c82ade50038ff5
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 32ea79f..18b276c 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



More information about the ffmpeg-cvslog mailing list