commit: b5a8c093e958bfa141a5fa7c140a068fca7e470a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 22 05:36:08 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 22 05:36:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a8c093
toolchain.eclass: pass --enable-host-pie/--enable-host-bind-now for 13 now too
Followup to 168e41a3d471d02b82e8647e7ecd24ff12e00b7f.
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index bb5d6665116d..b54f78320f02 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+=(