cross/binutils-*: upgrade to 2.40-r5

This commit is contained in:
Clayton Craft 2023-04-13 23:14:09 -07:00
parent 41afe17856
commit a6722a5116
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 4 additions and 60 deletions

View file

@ -8,7 +8,7 @@ CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
pkgname=binutils-aarch64 pkgname=binutils-aarch64
pkgver=2.40 pkgver=2.40
pkgrel=4 pkgrel=5
pkgdesc="Tools necessary to build programs for aarch64 targets" pkgdesc="Tools necessary to build programs for aarch64 targets"
url="https://www.gnu.org/software/binutils/" url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo" makedepends_build="bison flex texinfo"
@ -55,19 +55,6 @@ build() {
local _gold_configure="--disable-gold" local _gold_configure="--disable-gold"
local _plugin_configure="--enable-plugins" local _plugin_configure="--enable-plugins"
case "$CARCH" in
riscv64)
# binutils creates empty textrels here
# https://sourceware.org/bugzilla/show_bug.cgi?id=25694
local no_textrels=""
;;
*)
# set -z text by default
# this is the default for linkers such as ld.lld too
local no_textrels="--enable-textrel-check=error"
;;
esac
if [ "$CHOST" != "$CTARGET" ]; then if [ "$CHOST" != "$CTARGET" ]; then
_sysroot="$CBUILDROOT" _sysroot="$CBUILDROOT"
_cross_configure="--disable-install-libiberty" _cross_configure="--disable-install-libiberty"
@ -107,7 +94,6 @@ build() {
$_cross_configure \ $_cross_configure \
$_arch_configure \ $_arch_configure \
--enable-default-hash-style=gnu \ --enable-default-hash-style=gnu \
$no_textrels \
--with-pic \ --with-pic \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \

View file

@ -8,7 +8,7 @@ CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
pkgname=binutils-armhf pkgname=binutils-armhf
pkgver=2.40 pkgver=2.40
pkgrel=4 pkgrel=5
pkgdesc="Tools necessary to build programs for armhf targets" pkgdesc="Tools necessary to build programs for armhf targets"
url="https://www.gnu.org/software/binutils/" url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo" makedepends_build="bison flex texinfo"
@ -55,19 +55,6 @@ build() {
local _gold_configure="--disable-gold" local _gold_configure="--disable-gold"
local _plugin_configure="--enable-plugins" local _plugin_configure="--enable-plugins"
case "$CARCH" in
riscv64)
# binutils creates empty textrels here
# https://sourceware.org/bugzilla/show_bug.cgi?id=25694
local no_textrels=""
;;
*)
# set -z text by default
# this is the default for linkers such as ld.lld too
local no_textrels="--enable-textrel-check=error"
;;
esac
if [ "$CHOST" != "$CTARGET" ]; then if [ "$CHOST" != "$CTARGET" ]; then
_sysroot="$CBUILDROOT" _sysroot="$CBUILDROOT"
_cross_configure="--disable-install-libiberty" _cross_configure="--disable-install-libiberty"
@ -107,7 +94,6 @@ build() {
$_cross_configure \ $_cross_configure \
$_arch_configure \ $_arch_configure \
--enable-default-hash-style=gnu \ --enable-default-hash-style=gnu \
$no_textrels \
--with-pic \ --with-pic \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \

View file

@ -8,7 +8,7 @@ CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
pkgname=binutils-armv7 pkgname=binutils-armv7
pkgver=2.40 pkgver=2.40
pkgrel=4 pkgrel=5
pkgdesc="Tools necessary to build programs for armv7 targets" pkgdesc="Tools necessary to build programs for armv7 targets"
url="https://www.gnu.org/software/binutils/" url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo" makedepends_build="bison flex texinfo"
@ -55,19 +55,6 @@ build() {
local _gold_configure="--disable-gold" local _gold_configure="--disable-gold"
local _plugin_configure="--enable-plugins" local _plugin_configure="--enable-plugins"
case "$CARCH" in
riscv64)
# binutils creates empty textrels here
# https://sourceware.org/bugzilla/show_bug.cgi?id=25694
local no_textrels=""
;;
*)
# set -z text by default
# this is the default for linkers such as ld.lld too
local no_textrels="--enable-textrel-check=error"
;;
esac
if [ "$CHOST" != "$CTARGET" ]; then if [ "$CHOST" != "$CTARGET" ]; then
_sysroot="$CBUILDROOT" _sysroot="$CBUILDROOT"
_cross_configure="--disable-install-libiberty" _cross_configure="--disable-install-libiberty"
@ -107,7 +94,6 @@ build() {
$_cross_configure \ $_cross_configure \
$_arch_configure \ $_arch_configure \
--enable-default-hash-style=gnu \ --enable-default-hash-style=gnu \
$no_textrels \
--with-pic \ --with-pic \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \

View file

@ -8,7 +8,7 @@ CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
pkgname=binutils-riscv64 pkgname=binutils-riscv64
pkgver=2.40 pkgver=2.40
pkgrel=4 pkgrel=5
pkgdesc="Tools necessary to build programs for riscv64 targets" pkgdesc="Tools necessary to build programs for riscv64 targets"
url="https://www.gnu.org/software/binutils/" url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo" makedepends_build="bison flex texinfo"
@ -55,19 +55,6 @@ build() {
local _gold_configure="--disable-gold" local _gold_configure="--disable-gold"
local _plugin_configure="--enable-plugins" local _plugin_configure="--enable-plugins"
case "$CARCH" in
riscv64)
# binutils creates empty textrels here
# https://sourceware.org/bugzilla/show_bug.cgi?id=25694
local no_textrels=""
;;
*)
# set -z text by default
# this is the default for linkers such as ld.lld too
local no_textrels="--enable-textrel-check=error"
;;
esac
if [ "$CHOST" != "$CTARGET" ]; then if [ "$CHOST" != "$CTARGET" ]; then
_sysroot="$CBUILDROOT" _sysroot="$CBUILDROOT"
_cross_configure="--disable-install-libiberty" _cross_configure="--disable-install-libiberty"
@ -107,7 +94,6 @@ build() {
$_cross_configure \ $_cross_configure \
$_arch_configure \ $_arch_configure \
--enable-default-hash-style=gnu \ --enable-default-hash-style=gnu \
$no_textrels \
--with-pic \ --with-pic \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \