Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition
@ 2022-07-29 20:44 Giulio Benetti
  2022-07-29 20:44 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition Giulio Benetti
  2022-07-30 16:01 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Giulio Benetti @ 2022-07-29 20:44 UTC (permalink / raw)
  To: buildroot
  Cc: Romain Naour, Giulio Benetti, Thomas De Schampheleire,
	Thomas Petazzoni

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 <giulio.benetti@benettiengineering.com>
---
 toolchain/Config.in | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3cc747c1cc..d2fc347d36 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -113,12 +113,9 @@ config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
 # reappeared on gcc 9.x and is still not fixed on gcc 11.x
 config BR2_TOOLCHAIN_HAS_GCC_BUG_43744
 	bool
-	default y if BR2_sh4
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
-		BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
-		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_8
+	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
+	depends on BR2_sh4
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no
 # longer exists in gcc 8.x.
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-30 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-29 20:44 [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Giulio Benetti
2022-07-29 20:44 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition Giulio Benetti
2022-07-30 16:01 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox