summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-01 05:04:40 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-01 05:04:40 -0300
commit155723b7ce3444f0aa0a28f05a02001372b9f768 (patch)
tree6a62637fd7907cfcd7aa86511d5fb430ccae526e /core/binutils
parentac3cba40fe593c5e946ddfe2e43b43151eacd5e6 (diff)
finished toolchain update
Diffstat (limited to 'core/binutils')
-rw-r--r--core/binutils/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 61010099b..28d17576b 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -33,10 +33,11 @@ mksource() {
build() {
cd ${srcdir}
ln -s binutils-$pkgver binutils
- 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-nls --disable-multilib"
+ [[ $CARCH == "mips64el" ]] && CONFIGFLAG="--disable-multilib --disable-werror"
${srcdir}/binutils/configure --prefix=/usr \
--enable-ld=default --enable-gold \
@@ -44,7 +45,7 @@ build() {
--enable-shared $CONFIGFLAG
# This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
- make configure-host
+ make configure-host
make tooldir=${pkgdir}/usr
}