mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +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
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.27
|
||||
pkgver=2.28
|
||||
pkgrel=1
|
||||
_commit=2870b1ba
|
||||
_commit=7fa393306ed8b93019d225548474c0540b8928f7
|
||||
pkgdesc="A set of programs to assemble and manipulate binary and object files"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnu.org/software/binutils/"
|
||||
license=('GPL')
|
||||
groups=('base-devel')
|
||||
depends=('glibc>=2.24' 'zlib')
|
||||
depends=('glibc>=2.25' 'zlib')
|
||||
makedepends=('git')
|
||||
checkdepends=('dejagnu' 'bc')
|
||||
options=('staticlibs' '!distcc' '!ccache')
|
||||
|
@ -46,13 +46,20 @@ build() {
|
|||
[[ $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"
|
||||
|
||||
../binutils-gdb/configure --prefix=/usr \
|
||||
../binutils-gdb/configure \
|
||||
--prefix=/usr \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues \
|
||||
--enable-threads --enable-shared --with-pic \
|
||||
--enable-ld=default --enable-gold --enable-plugins \
|
||||
--enable-threads \
|
||||
--enable-shared \
|
||||
--enable-ld=default \
|
||||
--enable-gold \
|
||||
--enable-plugins \
|
||||
--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
|
||||
make configure-host
|
||||
|
|
Loading…
Reference in a new issue