summaryrefslogtreecommitdiff
path: root/core/binutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/binutils/PKGBUILD')
-rw-r--r--core/binutils/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 0d1d6a0bc..bfc4611ae 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=binutils
pkgver=2.21
-pkgrel=8
+pkgrel=9
_date=20110430
pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base')
@@ -37,9 +37,11 @@ build() {
patch -Np1 -i $srcdir/binutils-2.21-strip-segfault.patch
cd ${srcdir}
- mkdir binutils-build && cd binutils-build
+ mkdir binutils-build
+ cd binutils-build
[[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
+ [[ $CARCH == "mips64el" ]] && CONFIGFLAG="--disable-multilib --disable-werror"
${srcdir}/binutils/configure --prefix=/usr \
--enable-ld=default --enable-gold \