mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
9988832c46
Config evaluation require default with if to be put before the generic
default config with no condition. Putting the default config before any
conditional default results in always selecting the non conditional one.
This results in the version be hardcoded to gcc 12 even if gcc 11 is
selected in the Advanced build options.
Fix this by putting the gcc 12 default option as last after ANY
conditional default config.
Fixes: d9de5252a4
("toolchain/gcc: switch to version 12 by default")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 lines
143 B
Plaintext
9 lines
143 B
Plaintext
config GCC_VERSION_11
|
|
default y if GCC_USE_VERSION_11
|
|
bool
|
|
|
|
config GCC_VERSION
|
|
string
|
|
default "11.3.0" if GCC_VERSION_11
|
|
default "12.2.0"
|