Fix X11 and rust build on arm64

This commit is contained in:
BtbN 2022-07-06 14:55:26 +02:00
parent f29d3b5662
commit 9c766b0b33
16 changed files with 64 additions and 24 deletions

View file

@ -5,7 +5,6 @@ LIBX11_COMMIT="3a30ada60c5217ada37b143b541c8e6f6284c7fa"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1
[[ $TARGET == linuxarm64 ]] && return -1
return 0
}
@ -28,6 +27,12 @@ ffbuild_dockerbuild() {
--enable-ipv6
)
if [[ $TARGET == linuxarm64 ]]; then
myconf+=(
--disable-malloc0returnsnull
)
fi
if [[ $TARGET == linux* ]]; then
myconf+=(
--host="$FFBUILD_TOOLCHAIN"