mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8'
* commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8': configure: Simplify vararg check Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
75bf51ef87
|
@ -5435,12 +5435,11 @@ fi
|
||||||
check_gas() {
|
check_gas() {
|
||||||
log "check_gas using '$as' as AS"
|
log "check_gas using '$as' as AS"
|
||||||
# :vararg is used on aarch64, arm and ppc altivec
|
# :vararg is used on aarch64, arm and ppc altivec
|
||||||
test_as <<EOF || return 1
|
check_as vararg "
|
||||||
.macro m n, y:vararg=0
|
.macro m n, y:vararg=0
|
||||||
\n: .int \y
|
\n: .int \y
|
||||||
.endm
|
.endm
|
||||||
m x
|
m x" || return 1
|
||||||
EOF
|
|
||||||
# .altmacro is only used in arm asm
|
# .altmacro is only used in arm asm
|
||||||
! enabled arm || check_as gnu_as ".altmacro"
|
! enabled arm || check_as gnu_as ".altmacro"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue