mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
sys-devel/binutils: Sync with Gentoo
It's from Gentoo commit 973a17bc644c1043f029727cb3f4df7892678eb0.
This commit is contained in:
parent
1d6180e151
commit
743816b7c0
@ -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,*'
|
||||
|
||||
|
@ -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,*'
|
||||
|
||||
|
@ -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,*'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user