core/binutils updates

This commit is contained in:
Kevin Mihelich 2015-06-23 00:48:45 +00:00
parent e76c9e0735
commit 9bf568d806

View file

@ -3,6 +3,8 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# build from head of release branch as bug fix releases are rare
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - Added a CONFIGFLAG for ARM, defining our build hosts
# - Disabled make check, too processor/ram intensive, blows up
@ -20,7 +22,7 @@ license=('GPL')
groups=('base-devel')
depends=('glibc>=2.20' 'zlib')
makedepends=('git')
checkdepends=('dejagnu')
checkdepends=('dejagnu' 'bc')
options=('staticlibs' '!distcc' '!ccache')
install=binutils.install
source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit}
@ -44,8 +46,6 @@ prepare() {
build() {
cd ${srcdir}/binutils-build
[[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
# ALARM: Specify build host types
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=armv5tel-unknown-linux-gnueabi --build=armv5tel-unknown-linux-gnueabi"
[[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf"