Skip to content

Commit

Permalink
Update package 'binutils' up to the new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ezamlinsky committed Apr 5, 2020
1 parent 3160cc4 commit 94b4cb4
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions binutils/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#==============================================================================#
pkgname=('binutils')
pkgver=2.34
pkgrel=1
pkgrel=2
pkgdesc='A set of programs to assemble and manipulate binary and object files'
url='https://www.gnu.org/software/binutils/'
license=('GPL')
Expand All @@ -23,6 +23,7 @@ groups=('base-devel')
# Package dependencies #
#==============================================================================#
depends=(
'elfutils'
'gcc-libs'
'glibc'
'zlib'
Expand All @@ -39,12 +40,17 @@ checkdepends=(
conflicts=('binutils-multilib')
replaces=('binutils-multilib')

#==============================================================================#
# Package miscellaneous options #
#==============================================================================#
options=('staticlibs')

#==============================================================================#
# Package sources and integrity #
#==============================================================================#
source=(
"https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz"
"https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz.sig"
"https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
"https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz.sig"
)
md5sums=(
'664ec3a2df7805ed3464639aaae332d6'
Expand Down Expand Up @@ -82,14 +88,15 @@ build() {
'--localstatedir=/var'
'--enable-silent-rules'
'--enable-shared'
'--disable-static'
'--enable-static'
'--disable-werror'
'--disable-checking'
'--disable-multilib'
'--disable-bootstrap'
'--disable-vtable-verify'
'--enable-separate-code'
'--disable-default-strings-all'
'--enable-targets=x86_64-pep'
'--enable-default-hash-style=gnu'
'--enable-ld=yes'
'--enable-gold=yes'
Expand All @@ -105,12 +112,20 @@ build() {
'--enable-secureplt'
'--enable-libssp'
'--enable-libquadmath'
'--enable-libstdcxx'
'--enable-liboffloadmic=host'
'--enable-elf-stt-common'
'--enable-x86-relax-relocations'
'--enable-install-libbfd'
'--enable-initfini-array'
'--with-mmap'
'--with-pic'
'--with-isl'
'--with-mpc'
'--with-mpfr'
'--with-gmp'
'--without-debuginfod'
'--without-static-standard-libraries'
'--with-lib-path=/usr/lib:/usr/local/lib'
'--with-bugurl=https://bugs.archlinux.org'

Expand All @@ -123,7 +138,7 @@ build() {
./configure "${config_opts[@]}"

# Build package
make
make configure-host && make
}

#==============================================================================#
Expand Down

0 comments on commit 94b4cb4

Please sign in to comment.