diff options
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index edff7254c905..e28479dc44af 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1761,7 +1761,6 @@ toolchain_src_configure() { --enable-host-shared --enable-languages=jit - $(use_enable libdiagnostics) # Might be used for the just-built GCC. Easier to just # respect USE=graphite here in case the user passes some @@ -1771,6 +1770,10 @@ toolchain_src_configure() { --with-system-zlib ) + if tc_version_is_at_least 15.0.0_pre20241124 ; then + confgcc_jit+=( $(use_enable libdiagnostics) ) + fi + if tc_version_is_at_least 13.1 ; then confgcc_jit+=( --disable-fixincludes ) fi |