diff options
Diffstat (limited to 'core/binutils/PKGBUILD')
-rw-r--r-- | core/binutils/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index 0d1d6a0bc..8de32e57a 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -8,7 +8,7 @@ pkgver=2.21 pkgrel=8 _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 \ |