mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
configure: Simplify inline asm check with appropriate helper function
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user