mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/binutils to 2.28-1
This commit is contained in:
parent
6a92e17aa3
commit
8ed662dfdc
1 changed files with 14 additions and 7 deletions
|
@ -13,15 +13,15 @@
|
||||||
noautobuild=1
|
noautobuild=1
|
||||||
|
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
pkgver=2.27
|
pkgver=2.28
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
_commit=2870b1ba
|
_commit=7fa393306ed8b93019d225548474c0540b8928f7
|
||||||
pkgdesc="A set of programs to assemble and manipulate binary and object files"
|
pkgdesc="A set of programs to assemble and manipulate binary and object files"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.gnu.org/software/binutils/"
|
url="http://www.gnu.org/software/binutils/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=('base-devel')
|
groups=('base-devel')
|
||||||
depends=('glibc>=2.24' 'zlib')
|
depends=('glibc>=2.25' 'zlib')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
checkdepends=('dejagnu' 'bc')
|
checkdepends=('dejagnu' 'bc')
|
||||||
options=('staticlibs' '!distcc' '!ccache')
|
options=('staticlibs' '!distcc' '!ccache')
|
||||||
|
@ -46,13 +46,20 @@ build() {
|
||||||
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf"
|
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf"
|
||||||
[[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu"
|
[[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu"
|
||||||
|
|
||||||
../binutils-gdb/configure --prefix=/usr \
|
../binutils-gdb/configure \
|
||||||
|
--prefix=/usr \
|
||||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||||
--with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues \
|
--with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues \
|
||||||
--enable-threads --enable-shared --with-pic \
|
--enable-threads \
|
||||||
--enable-ld=default --enable-gold --enable-plugins \
|
--enable-shared \
|
||||||
|
--enable-ld=default \
|
||||||
|
--enable-gold \
|
||||||
|
--enable-plugins \
|
||||||
--enable-deterministic-archives \
|
--enable-deterministic-archives \
|
||||||
--disable-werror --disable-gdb --disable-sim $CONFIGFLAG
|
--disable-werror \
|
||||||
|
--disable-gdb \
|
||||||
|
--disable-sim \
|
||||||
|
$CONFIGFLAG
|
||||||
|
|
||||||
# check the host environment and makes sure all the necessary tools are available
|
# check the host environment and makes sure all the necessary tools are available
|
||||||
make configure-host
|
make configure-host
|
||||||
|
|
Loading…
Reference in a new issue