build-style/void-cross: enable patching binutils

This commit is contained in:
q66 2021-01-17 16:00:28 +01:00
parent 6ae6e7f026
commit 2d80cf4c49
1 changed files with 5 additions and 6 deletions

View File

@ -41,12 +41,11 @@ _void_cross_build_binutils() {
msg_normal "Patching binutils for ${cross_triplet}\n"
cd ${wrksrc}/binutils-${ver}
# enable when crosstoolchains are updated to latest binutils
#if [ -d "${XBPS_SRCPKGDIR}/binutils/patches" ]; then
# for f in ${XBPS_SRCPKGDIR}/binutils/patches/*.patch; do
# _void_cross_apply_patch -p1 "$f"
# done
#fi
if [ -d "${XBPS_SRCPKGDIR}/binutils/patches" ]; then
for f in ${XBPS_SRCPKGDIR}/binutils/patches/*.patch; do
_void_cross_apply_patch -p1 "$f"
done
fi
cd ..
msg_normal "Building binutils for ${cross_triplet}\n"