[FFmpeg-devel] [RFC]Disable inline_asm_direct_symbol_refs for lto
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Mar 19 02:56:41 CET 2014
Hi!
Attached patch allows to use --enable-lto with inline asm
if --disable-decoder=h264,hevc --disable-parser=h264 is used (needs gcc 4.8 /
4.8.2 and two small patches waiting for merge on github).
Fixes a part of ticket #2941 and allows to continuously test Matt Oliver's
patches on fate.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index b41e0dc..ae30800 100755
--- a/configure
+++ b/configure
@@ -4838,6 +4838,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-devel
mailing list