From 34728c63d9bcabb6239944fea9a1b21016c969ef Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 29 Jan 2024 02:07:04 -0800 Subject: [PATCH] binutils: add comment --- srcpkgs/binutils/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index f8dc2a7a6e6..decb2a3ba8e 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -47,7 +47,7 @@ do_configure() { if [ "$CROSS_BUILD" ]; then # we don't want --with-sysroot=${XBPS_CROSS_BASE} like gnu-configure conf+=" --host=${XBPS_CROSS_TRIPLET} --with-build-sysroot=${XBPS_CROSS_BASE}" - + # pkgconf adds sysroot includes to cflags and ldflags, which breaks binutils cross-compile with zstd vsed -e '/PKG_CONFIG_SYSROOT_DIR/d' -i ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config fi