From 98dd97c6dc5b5b4ad4bb19efeb7f314cc52f43ff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Jun 2023 01:40:03 +0100 Subject: gentoo auto-resync : 16:06:2023 - 01:40:03 --- eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eclass/toolchain.eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 952ad85fcde0..3578ac7f44ec 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1284,6 +1284,10 @@ toolchain_src_configure() { if in_iuse pie ; then confgcc+=( $(use_enable pie default-pie) ) + + if tc_version_is_at_least 14.0.0_pre20230612 ${PV} ; then + confgcc+=( --enable-host-pie ) + fi fi if in_iuse ssp ; then -- cgit v1.2.3