binutils: disable NLS completely; pass our triplet to --build.
This commit is contained in:
parent
7e04a285fc
commit
c979cb5bb3
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.25
|
version=2.25
|
||||||
revision=4
|
revision=5
|
||||||
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>"
|
||||||
|
@ -29,10 +29,10 @@ do_configure() {
|
||||||
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
||||||
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
||||||
fi
|
fi
|
||||||
./configure --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-ld=default $CONFIGFLAG LDFLAGS=
|
--enable-ld=default --disable-nls $CONFIGFLAG LDFLAGS=
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
Loading…
Reference in a new issue