toolchain.eclass: pass --enable-host-pie/--enable-host-bind-now for 13 now too

Followup to 168e41a3d4.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-08-22 06:36:08 +01:00
parent 8f37a2f880
commit b5a8c093e9

View File

@@ -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+=(