From d794e216fab8198bc132a1f34b37daf2d4e6dc05 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 22 Sep 2014 23:56:21 -0300 Subject: cross-binutils: add specific configure for xtensa based on 2.23.2-2.7 version --- cross/cross-binutils/PKGBUILD | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'cross') diff --git a/cross/cross-binutils/PKGBUILD b/cross/cross-binutils/PKGBUILD index 837ad0e6c..9eef49ede 100644 --- a/cross/cross-binutils/PKGBUILD +++ b/cross/cross-binutils/PKGBUILD @@ -125,7 +125,7 @@ fi _pkgname=binutils pkgname=$_target-$_pkgname pkgver=2.24 -pkgrel=7 +pkgrel=7.1 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/$_pkgname/" @@ -168,12 +168,20 @@ prepare() { build() { cd ${srcdir}/$_pkgname-build - ${srcdir}/$_pkgname-${pkgver}/configure --prefix=/usr \ - --with-lib-path=/usr/lib:/usr/local/lib \ - --with-bugurl=https://labs.parabola.nu/ \ - --enable-threads --enable-shared --with-pic \ - --enable-ld=default --enable-gold --enable-plugins \ - --disable-werror --target=$_target --program-prefix=$_target- + if [[ $_target == xtensa-unknown-elf ]]; then + ${srcdir}/$_pkgname-${pkgver}/configure --prefix=/usr \ + --with-lib-path=/usr/lib:/usr/local/lib \ + --with-bugurl=https://labs.parabola.nu/ \ + --enable-shared --disable-nls \ + --disable-werror --disable-multilib --target=$_target --program-prefix=$_target- + else + ${srcdir}/$_pkgname-${pkgver}/configure --prefix=/usr \ + --with-lib-path=/usr/lib:/usr/local/lib \ + --with-bugurl=https://labs.parabola.nu/ \ + --enable-threads --enable-shared --with-pic \ + --enable-ld=default --enable-gold --enable-plugins \ + --disable-werror --target=$_target --program-prefix=$_target- + fi # check the host environment and makes sure all the necessary tools are available make configure-host -- cgit v1.2.3-54-g00ecf