From 58284a6f050413387fd4cee46962555edaffbfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 6 May 2018 19:26:59 +0200 Subject: [PATCH] binutils: --enable-targets=x86_64-pep for x86_64* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous change broke binutils for mips* at least. Signed-off-by: Jürgen Buchmüller --- srcpkgs/binutils/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() {