Merge commit '24d5680bbc'
* commit '24d5680bbc':
configure: Simplify inline asm check with appropriate helper function
Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
932e28b13e
1 changed files with 1 additions and 3 deletions
4
configure
vendored
4
configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue