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:
parent
79987ecaeb
commit
58284a6f05
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.29.1
|
version=2.29.1
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -35,11 +35,13 @@ do_configure() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
|
||||||
CONFIGFLAG+=" --with-float=soft --without-fp"
|
CONFIGFLAG+=" --with-float=soft --without-fp"
|
||||||
fi
|
fi
|
||||||
|
if [ "${XBPS_TARGET_MACHINE%-musl}" = "x86_64" ]; then
|
||||||
|
CONFIGFLAG+=" --enable-targets=x86_64-pep"
|
||||||
|
fi
|
||||||
./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \
|
./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \
|
||||||
--enable-plugins --enable-secureplt --with-mmap \
|
--enable-plugins --enable-secureplt --with-mmap \
|
||||||
--disable-shared --enable-gold --disable-werror \
|
--disable-shared --enable-gold --disable-werror \
|
||||||
--enable-deterministic-archives --enable-ld=default \
|
--enable-deterministic-archives --enable-ld=default \
|
||||||
--enable-targets=x86_64-pep \
|
|
||||||
--disable-nls $CONFIGFLAG
|
--disable-nls $CONFIGFLAG
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue