mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-12 05:17:39 +02:00
Fix X11 and rust build on arm64
This commit is contained in:
@ -5,7 +5,6 @@ LIBXRENDER_COMMIT="bce0618839fc33f44edd8b5498b8e33d167806ff"
|
||||
|
||||
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"
|
||||
|
Reference in New Issue
Block a user