summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-03-24 20:24:08 +0100
committerDiego Biurrun <diego@biurrun.de>2017-03-24 20:24:08 +0100
commitd6390090c4dbd766b77353553d9cb4fb4fb41ebd (patch)
tree41b9f463a41e7ee6b9a9eb6eba03fb022bca360b /configure
parent083ea8768121ee800893e124b08483011b798919 (diff)
configure: Skip check for inline assembly capabilities when explicitly disabled
Otherwise inline assembly may get enabled when disabled on the command line.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 366520cf96..d9609fc51a 100755
--- a/configure
+++ b/configure
@@ -4251,7 +4251,7 @@ EOF
sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
-check_inline_asm inline_asm '"" ::'
+! disabled inline_asm && check_inline_asm inline_asm '"" ::'
_restrict=
for restrict_keyword in restrict __restrict__ __restrict; do