Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-26 23:01:21 +0300
committerJames Almer <jamrial@gmail.com>2017-09-26 23:01:21 +0300
commit932e28b13e9ae29262dfd28419b700e03716e85e (patch)
tree2366f302f4d6505baf9f585fb14d6e7741e988b6 /configure
parentf9445760289d104a3e9d2d25844b08f999a41946 (diff)
parent24d5680bbc01fc124709d522d348572ad4672563 (diff)
Merge commit '24d5680bbc01fc124709d522d348572ad4672563'
* commit '24d5680bbc01fc124709d522d348572ad4672563': configure: Simplify inline asm check with appropriate helper function Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 74c754d91a..3bd9e7a342 100755
--- a/configure
+++ b/configure
@@ -5308,9 +5308,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