diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index bcec2990d15..ed32fe93683 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -1,7 +1,7 @@ # Template file for 'binutils' pkgname=binutils version=2.29.1 -revision=2 +revision=3 bootstrap=yes short_desc="GNU binary utilities" maintainer="Juan RP " @@ -35,11 +35,13 @@ do_configure() { if [ "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then CONFIGFLAG+=" --with-float=soft --without-fp" fi + if [ "${XBPS_TARGET_MACHINE%-musl}" = "x86_64" ]; then + CONFIGFLAG+=" --enable-targets=x86_64-pep" + fi ./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \ --enable-plugins --enable-secureplt --with-mmap \ --disable-shared --enable-gold --disable-werror \ --enable-deterministic-archives --enable-ld=default \ - --enable-targets=x86_64-pep \ --disable-nls $CONFIGFLAG } do_build() {