diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-01-20 15:30:36 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-02-02 14:34:05 +0100 |
commit | 24d5680bbc01fc124709d522d348572ad4672563 (patch) | |
tree | 5514c9457578c47880d7b3ca2d682f64de7a7b3f | |
parent | b3825723dceffc64240da7b0e562bd1fd024da26 (diff) | |
download | ffmpeg-24d5680bbc01fc124709d522d348572ad4672563.tar.gz |
configure: Simplify inline asm check with appropriate helper function
-rwxr-xr-x | configure | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4183,9 +4183,7 @@ EOF sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }') extern_prefix=${sym%%ff_extern*} -check_cc <<EOF && enable_weak inline_asm -void foo(void) { __asm__ volatile ("" ::); } -EOF +check_inline_asm inline_asm '"" ::' _restrict= for restrict_keyword in restrict __restrict__ __restrict; do |