From 8fbd213eda5d7e984bfb19ea7be9e598c2961eae Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Fri, 29 Jul 2022 22:44:57 +0200 Subject: [PATCH] toolchain/Config.in: improve gcc bug 83143 condition This makes the condition easier to read and it's easier to maintain the gcc bug too because we don't have to take care about new gcc versions. Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- toolchain/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 3ab594a1d3..a122e43c87 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -150,9 +150,9 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 # it still not been fixed yet. config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 bool - default y if BR2_sh - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \ - BR2_TOOLCHAIN_GCC_AT_LEAST_12 + default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on BR2_sh # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no # longer exists in gcc 8.x.