diff options
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 85bb14220c..b4a18a127a 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1330,9 +1330,14 @@ toolchain_src_configure() { if in_iuse default-znow && tc_version_is_at_least 14.0.0_pre20230619 ${PV}; then # See https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=33ebb0dff9bb022f1e0709e0e73faabfc3df7931. # TODO: Add to LDFLAGS_FOR_TARGET? + # PREFIX_LOCAL + # configure check is flawed, --disable enables too, so omit when + # not set + if use default-znow ; then confgcc+=( $(use_enable default-znow host-bind-now) ) + fi fi if in_iuse ssp ; then |