binutils: disable NLS completely; pass our triplet to --build.

This commit is contained in:
Juan RP 2015-05-29 09:52:37 +02:00
parent 7e04a285fc
commit c979cb5bb3

View file

@ -1,7 +1,7 @@
# Template file for 'binutils'
pkgname=binutils
version=2.25
revision=4
revision=5
bootstrap=yes
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -29,10 +29,10 @@ do_configure() {
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
fi
./configure --prefix=/usr --enable-threads \
./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \
--enable-plugins --enable-secureplt --with-mmap \
--disable-shared --enable-gold --disable-werror \
--enable-ld=default $CONFIGFLAG LDFLAGS=
--enable-ld=default --disable-nls $CONFIGFLAG LDFLAGS=
}
do_build() {
make ${makejobs}