Commit 932e28b1 authored by James Almer's avatar James Almer

Merge commit '24d5680b'

* commit '24d5680b':
  configure: Simplify inline asm check with appropriate helper function
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents f9445760 24d5680b
...@@ -5308,9 +5308,7 @@ EOF ...@@ -5308,9 +5308,7 @@ EOF
sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }') sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*} extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable_weak inline_asm check_inline_asm inline_asm '"" ::'
void foo(void) { __asm__ volatile ("" ::); }
EOF
_restrict= _restrict=
for restrict_keyword in restrict __restrict__ __restrict; do for restrict_keyword in restrict __restrict__ __restrict; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment