binutils: --enable-targets=x86_64-pep for x86_64*

The previous change broke binutils for mips* at least.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-05-06 19:26:59 +02:00
parent 79987ecaeb
commit 58284a6f05
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -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 <xtraeme@voidlinux.eu>"
@ -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() {