openwrt/toolchain/gcc
Robert Marko e8cc17e147
config: fix CONFIG_GDB appearing in main menuconfig menu
I noticed that CONFIG_GDB was suddenly appearing in the main menuconfig
menu despite the fact that it should be visible only when TOOLCHAINOPTS
is selected and under a dedicated menu.

After some trial and error, it seems that this was caused by the recent
addition of GCC_USE_DEFAULT_VERSION, and after even more trial and error
it gets fixed as soon GCC_USE_DEFAULT_VERSION is placed after GCC_VERSION.

So, lets simply put GCC_USE_DEFAULT_VERSION after GCC_VERSION.

Fixes: 501ef81040 ("config: select KERNEL_WERROR if building with default GCC version")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [rebased]
(cherry picked from commit 12b2cb2ec3)
2024-04-18 11:52:56 +02:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final toolchain/gcc: use explicit configure args 2023-02-09 02:53:35 +01:00
initial toolchain: remove installing twice in the "initial" subdir 2023-02-19 19:44:39 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches-11.x toolchain: gcc: backport inline subword atomic support for riscv 2023-06-16 19:47:39 +02:00
patches-12.x toolchain: gcc: backport inline subword atomic support for riscv 2023-06-16 19:47:39 +02:00
patches-13.x toolchain: gcc: backport inline subword atomic support for riscv 2023-06-16 19:47:39 +02:00
common.mk toolchain: assign PKG_CPE_ID 2023-09-27 22:37:01 +02:00
Config.in config: fix CONFIG_GDB appearing in main menuconfig menu 2024-04-18 11:52:56 +02:00
Config.version config: fix CONFIG_GDB appearing in main menuconfig menu 2024-04-18 11:52:56 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00