mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/binutils to 2.38-5
This commit is contained in:
parent
9cedd6c57c
commit
0ae053e9e1
1 changed files with 8 additions and 15 deletions
|
@ -12,25 +12,22 @@ noautobuild=1
|
||||||
|
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
pkgver=2.38
|
pkgver=2.38
|
||||||
pkgrel=4
|
_commit=9c67f6382ac2c90fbde5729feaf7d59ce662147a
|
||||||
|
pkgrel=5
|
||||||
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=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://www.gnu.org/software/binutils/'
|
url='https://www.gnu.org/software/binutils/'
|
||||||
license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
|
license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
|
||||||
groups=(base-devel)
|
groups=(base-devel)
|
||||||
depends=(glibc zlib libelf)
|
depends=(glibc zlib libelf)
|
||||||
|
makedepends=(git)
|
||||||
checkdepends=(dejagnu debuginfod bc)
|
checkdepends=(dejagnu debuginfod bc)
|
||||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||||
options=(staticlibs !distcc !ccache debug)
|
options=(staticlibs !distcc !ccache debug)
|
||||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
gold-warn-unsupported.patch)
|
||||||
source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
|
sha256sums=('SKIP'
|
||||||
gold-warn-unsupported.patch
|
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
|
||||||
fix-incorrect-undefined-symbol.patch)
|
|
||||||
sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
|
|
||||||
'SKIP'
|
|
||||||
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4'
|
|
||||||
'fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6')
|
|
||||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -47,10 +44,6 @@ prepare() {
|
||||||
# unsupported targets. This allows the binutils to be built with
|
# unsupported targets. This allows the binutils to be built with
|
||||||
# BPF support enabled.
|
# BPF support enabled.
|
||||||
patch -Np1 -i "${srcdir}"/gold-warn-unsupported.patch
|
patch -Np1 -i "${srcdir}"/gold-warn-unsupported.patch
|
||||||
|
|
||||||
# fix incorrect "undefined reference" errors
|
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28879
|
|
||||||
patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -88,7 +81,7 @@ build() {
|
||||||
# Extract the FSF All Permissive License
|
# Extract the FSF All Permissive License
|
||||||
# <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
|
# <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
|
||||||
# used for some linker scripts.
|
# used for some linker scripts.
|
||||||
tail -n 5 "${srcdir}"/binutils-${pkgver}/ld/scripttempl/README > FSFAP
|
tail -n 5 "${srcdir}"/binutils-gdb/ld/scripttempl/README > FSFAP
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
|
Loading…
Reference in a new issue