configure: Skip check for inline assembly capabilities when explicitly disabled

Otherwise inline assembly may get enabled when disabled on the command line.
This commit is contained in:
Diego Biurrun 2017-03-24 20:24:08 +01:00
parent 083ea87681
commit d6390090c4

2
configure vendored
View File

@ -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