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

@ -15,18 +15,16 @@ ffbuild_dockerdl() {
ffbuild_dockerbuild() {
local myconf=(
--prefix="$FFBUILD_PREFIX"
--host="$FFBUILD_TOOLCHAIN"
--disable-shared
--enable-static
--disable-extra-programs
)
if [[ $TARGET == win* || $TARGET == linux* ]]; then
if [[ $TARGET == winarm* ]]; then
myconf+=(
--host="$FFBUILD_TOOLCHAIN"
--disable-rtcd
)
else
echo "Unknown target"
return -1
fi
./configure "${myconf[@]}"