sys-devel/binutils: Sync with Gentoo

It's from Gentoo commit 973a17bc644c1043f029727cb3f4df7892678eb0.
This commit is contained in:
Flatcar Buildbot 2025-03-17 07:11:40 +00:00 committed by Krzesimir Nowak
parent 1d6180e151
commit 743816b7c0
3 changed files with 31 additions and 1 deletions

View File

@ -398,6 +398,16 @@ src_test() {
# Tests don't expect LTO
filter-lto
# If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS,
# we'll get lto1 warnings for some tests which cause
# spurious failures because -mfpmath isn't passed at
# link-time. Filter accordingly.
#
# Alternatively, we could pass C{C,XX}_FOR_TARGET with
# some (ideally not all, surely would break some tests)
# stuffed in.
filter-flags '-mfpmath=*'
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'

View File

@ -35,7 +35,7 @@ else
[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
SLOT=$(ver_cut 1-2)
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
fi
#
@ -398,6 +398,16 @@ src_test() {
# Tests don't expect LTO
filter-lto
# If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS,
# we'll get lto1 warnings for some tests which cause
# spurious failures because -mfpmath isn't passed at
# link-time. Filter accordingly.
#
# Alternatively, we could pass C{C,XX}_FOR_TARGET with
# some (ideally not all, surely would break some tests)
# stuffed in.
filter-flags '-mfpmath=*'
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'

View File

@ -398,6 +398,16 @@ src_test() {
# Tests don't expect LTO
filter-lto
# If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS,
# we'll get lto1 warnings for some tests which cause
# spurious failures because -mfpmath isn't passed at
# link-time. Filter accordingly.
#
# Alternatively, we could pass C{C,XX}_FOR_TARGET with
# some (ideally not all, surely would break some tests)
# stuffed in.
filter-flags '-mfpmath=*'
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'