summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'core/binutils')
-rw-r--r--core/binutils/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 790948675..29c4f137d 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.21.1
pkgrel=1
_date=20110627
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')
@@ -31,9 +31,11 @@ mksource() {
build() {
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 \