commit:     14b4ce60bae26089b0b80f9f629900bf7721e9f5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 14:59:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 14:59:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b4ce60

toolchain.eclass: fix libdiagnostics handling (more)

I continue to mix up how tc_version_is_at_least works. One day I'll
change it...

Closes: https://bugs.gentoo.org/944007
Fixes: f6a974f8f2378c6c6a83345c101afce233fdf1d7
Fixes: b923a4c0d1a330e40f0a05f3bc94bb4f32ce1cbb
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e28479dc44af..02db921ce133 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1770,7 +1770,7 @@ toolchain_src_configure() {
                        --with-system-zlib
                )
 
-               if tc_version_is_at_least 15.0.0_pre20241124 ; then
+               if tc_version_is_at_least 15.0.0_pre20241124 ${PV} ; then
                        confgcc_jit+=( $(use_enable libdiagnostics) )
                fi
 

Reply via email to