Browse Source

configure: Simplify inline asm check with appropriate helper function

tags/n3.4
Diego Biurrun 9 years ago
parent
commit
24d5680bbc
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      configure

+ 1
- 3
configure View File

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


Loading…
Cancel
Save