toolchain: fix gcc bug 99140 condition
Gcc bug 99140 exhibits with gcc versions: - up to 7.x - 9.x - 10.x and doesn't show up with gcc versions: - 8.x - 11.x then moving BR2_TOOLCHAIN_GCC_AT_LEAST_9 to BR2_TOOLCHAIN_GCC_AT_LEAST_10 makes gcc version 9 set as working but it's not. So let's back substitute BR2_TOOLCHAIN_GCC_AT_LEAST_10 with BR2_TOOLCHAIN_GCC_AT_LEAST_9. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
132eec5c47
commit
33ea4d7887
@ -189,7 +189,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
|
||||
config BR2_TOOLCHAIN_HAS_GCC_BUG_99140
|
||||
bool
|
||||
default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
||||
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
||||
depends on BR2_nios2
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
|
||||
|
Loading…
Reference in New Issue
Block a user