Message ID | D4AJKCJNREOZ.3OAV7OIDV1244@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel] configure: do not use interval regexp operators with awk | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/configure b/configure index d872213af7a..d568739bf90 100755 --- a/configure +++ b/configure @@ -6150,11 +6150,11 @@ enable_weak_pic() { enabled pic && enable_weak_pic test_cc <<EOF || die "Symbol mangling check failed." int ff_extern; EOF -sym=$($nm $TMPO | awk '/[ \t]+[^ \t]{0,1}ff_extern$/{ print substr($0, match($0, /[^ \t]{0,1}ff_extern$/)) }') +sym=$($nm $TMPO | awk '/[ \t]+[^ \t]?ff_extern$/{ print substr($0, match($0, /[^ \t]?ff_extern$/)) }') extern_prefix=${sym%%ff_extern*} log "Symbol prefix detected as: '${extern_prefix}'" ! disabled inline_asm && check_inline_asm inline_asm '"" ::'