Fix X11 and rust build on arm64
This commit is contained in:
parent
f29d3b5662
commit
9c766b0b33
16 changed files with 64 additions and 24 deletions
|
@ -5,7 +5,6 @@ LIBXI_COMMIT="f24d7f43ab4d97203e60677a3d42e11dbc80c8b4"
|
|||
|
||||
ffbuild_enabled() {
|
||||
[[ $TARGET != linux* ]] && return -1
|
||||
[[ $TARGET == linuxarm64 ]] && return -1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -22,6 +21,12 @@ ffbuild_dockerbuild() {
|
|||
--with-pic
|
||||
)
|
||||
|
||||
if [[ $TARGET == linuxarm64 ]]; then
|
||||
myconf+=(
|
||||
--disable-malloc0returnsnull
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ $TARGET == linux* ]]; then
|
||||
myconf+=(
|
||||
--host="$FFBUILD_TOOLCHAIN"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue