From b5a8c093e958bfa141a5fa7c140a068fca7e470a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 22 Aug 2025 06:36:08 +0100 Subject: [PATCH] toolchain.eclass: pass --enable-host-pie/--enable-host-bind-now for 13 now too Followup to 168e41a3d471d02b82e8647e7ecd24ff12e00b7f. Signed-off-by: Sam James --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index bb5d6665116d0..b54f78320f02d 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1825,12 +1825,12 @@ toolchain_src_configure() { if in_iuse pie ; then confgcc+=( $(use_enable pie default-pie) ) - if tc_version_is_at_least 14.1 ${PV} ; then + if tc_version_is_at_least 14.1 ${PV} || tc_version_is_at_least 13.4.1_p20250814 ${PV} ; then confgcc+=( --enable-host-pie ) fi fi - if in_iuse default-znow && tc_version_is_at_least 14.1 ${PV}; then + if in_iuse default-znow && { tc_version_is_at_least 14.1 ${PV} || tc_version_is_at_least 13.4.1_p20250814 ${PV} ; } ; then # See https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=33ebb0dff9bb022f1e0709e0e73faabfc3df7931. # TODO: Add to LDFLAGS_FOR_TARGET? confgcc+=(