Add initial support for winarm64

This commit is contained in:
BtbN
2024-03-19 22:55:26 +01:00
parent 33079e6154
commit 8efdbd5a6b
29 changed files with 190 additions and 37 deletions

View File

@ -4,6 +4,7 @@ SCRIPT_REPO="https://chromium.googlesource.com/webm/libvpx"
SCRIPT_COMMIT="c29e63728316486082dd6083c2062434b441b77d"
ffbuild_enabled() {
[[ $TARGET == winarm64 ]] && return -1
return 0
}
@ -30,6 +31,11 @@ ffbuild_dockerbuild() {
--target=x86-win32-gcc
)
export CROSS="$FFBUILD_CROSS_PREFIX"
elif [[ $TARGET == winarm64 ]]; then
myconf+=(
--target=arm64-win64-gcc
)
export CROSS="$FFBUILD_CROSS_PREFIX"
elif [[ $TARGET == linux64 ]]; then
myconf+=(
--target=x86_64-linux-gcc