summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-07 13:09:29 +0000
committerSam James <sam@gentoo.org>2024-03-07 13:09:29 +0000
commitf900949be85e2b2b21cd68b7f5163208d0429028 (patch)
treeba2fe4219cd93b7256a357ea8b85087af2f1f233 /sys-devel/binutils/binutils-2.34-r2.ebuild
parentsys-devel/binutils: pass --disable-gdbserver too (diff)
downloadgentoo-f900949be85e2b2b21cd68b7f5163208d0429028.tar.gz
gentoo-f900949be85e2b2b21cd68b7f5163208d0429028.tar.bz2
gentoo-f900949be85e2b2b21cd68b7f5163208d0429028.zip
sys-devel/binutils: add workaround for libbacktrace tests
They fail with >=app-arch/xz-utils-5.6.0 until libbacktrace is synced upstream, export XZ_OPT & XZ_DEFAULTS with -T1 to workaround that. Bug: https://sourceware.org/PR31327 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/binutils/binutils-2.34-r2.ebuild')
-rw-r--r--sys-devel/binutils/binutils-2.34-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/binutils/binutils-2.34-r2.ebuild b/sys-devel/binutils/binutils-2.34-r2.ebuild
index 42d6d1910d24..c4bd1379ccef 100644
--- a/sys-devel/binutils/binutils-2.34-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.34-r2.ebuild
@@ -275,6 +275,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type