Fix building git for i586

This commit is contained in:
Wildan M 2026-04-11 04:49:17 +07:00
parent 585ebfd8cb
commit 40ab44f2b3
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -28,6 +28,12 @@ MAKEFLAGS=(
BLK_SHA1=1
V=1
)
if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then
# git does not use pkgconfig to be aware with zstd
MAKEFLAGS+=( EXTLIBS="-lzstd -lnghttp2 -lz" )
fi
export CURL_CONFIG="${COOKBOOK_SYSROOT}/usr/bin/curl-config"
./configure \
--host="${GNU_TARGET}" \