diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index 382684c1505..f8dc2a7a6e6 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -47,6 +47,8 @@ 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}" + + vsed -e '/PKG_CONFIG_SYSROOT_DIR/d' -i ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config fi # gprofng currently only supports x86 and aarch64 glibc. @@ -107,6 +109,7 @@ do_configure() { --with-system-zlib \ --with-mmap \ --with-pic \ + --with-zstd \ $conf }