Skip to content

Commit

Permalink
binutils: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oreo639 committed Jan 29, 2024
1 parent fe96b15 commit 34728c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srcpkgs/binutils/template
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 34728c6

Please sign in to comment.