From c44123f79f40edf5fe3d4b0d211d6aa68542abd2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Feb 2024 17:44:31 +0000 Subject: gentoo auto-resync : 03:02:2024 - 17:44:31 --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/toolchain.eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 1679a3d3a366..4cf76229cf88 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1712,7 +1712,7 @@ gcc_do_make() { # The last known issues are with < GCC 4.9 or so, but it's easier # to keep this bound somewhat fresh just to avoid problems. Ultimately, # using not-O0 is just a build-time speed improvement anyway. - if tc-is-gcc && ver_test $(gcc-fullversion) -lt 10 ; then + if ! tc-is-gcc || ver_test $(gcc-fullversion) -lt 10 ; then STAGE1_CFLAGS="-O0" fi -- cgit v1.2.3