[FFmpeg-devel] [PATCH]Disable inline_asm_direct_symbol_refs for lto
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat May 3 09:01:55 CEST 2014
Hi!
Attached patch fixes compilation with --enable-lto and a recent gcc if h264
and hevc are disabled.
Fixes a part of ticket #2941.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index dd7ac79..5b34d1f 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-devel
mailing list