toolchain/Config.in: fix BR2_TOOLCHAIN_HAS_GCC_BUG_99140 number

While introducing gcc bug 99410 I've named BR2_TOOLCHAIN_HAS_GCC_BUG_ to
99140 that is wrong. So let's fix this by changing bug option to
BR2_TOOLCHAIN_HAS_GCC_BUG_99410.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022.08.x
Giulio Benetti 2022-07-29 18:24:29 +02:00 committed by Thomas Petazzoni
parent d120dacf6a
commit 5df2f9ff1c
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ endif
BELLE_SIP_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99140),y)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99410),y)
BELLE_SIP_CFLAGS += -O0
endif

View File

@ -188,7 +188,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
# Error: branch offset out of range on Nios II. This bug
# no longer exists in gcc 8.x but reappeared on gcc 9.x and has been
# fixed on gcc 11.x.
config BR2_TOOLCHAIN_HAS_GCC_BUG_99140
config BR2_TOOLCHAIN_HAS_GCC_BUG_99410
bool
default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11