aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-04 18:23:25 +0200
committerDiego Biurrun <diego@biurrun.de>2012-09-10 18:31:51 +0200
commitafb5ed55d2e4cc9cadd5ab6bcbf5b0a1abb5080a (patch)
tree5cc6453215f6f4a92914e953a949b6fcebb2b79c /configure
parent88a3569917c817ecaa9982cea1f022b34d986390 (diff)
downloadffmpeg-afb5ed55d2e4cc9cadd5ab6bcbf5b0a1abb5080a.tar.gz
configure: Add --disable-inline-asm command line option
This can come in handy for testing and possibly other purposes.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index d5809aa0ca..29c4317f17 100755
--- a/configure
+++ b/configure
@@ -259,6 +259,7 @@ Optimization options (experts only):
--disable-mmi disable MMI optimizations
--disable-neon disable NEON optimizations
--disable-vis disable VIS optimizations
+ --disable-inline-asm disable use of inline assembler
--disable-yasm disable use of yasm assembler
Developer options (useful when working on Libav itself):
@@ -1275,6 +1276,7 @@ CMDLINE_SELECT="
cross_compile
debug
extra_warnings
+ inline_asm
logging
optimizations
symver
@@ -2926,7 +2928,7 @@ EOF
sym=$($nm $nm_opts $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
-check_cc <<EOF && enable inline_asm
+check_cc <<EOF && enable_weak inline_asm
void foo(void) { __asm__ volatile ("" ::); }
EOF