openwrt/toolchain/gcc
Christian Marangi 9988832c46
toolchain/gcc: fix broken gcc version selection
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>
2023-01-09 21:25:30 +01: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: enable sanitizers for glibc toolchain 2019-10-24 11:40:00 +00:00
initial toolchain/gcc: parallelize make install 2017-02-09 14:49:34 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches-11.x toolchain: gcc: backport patches to fix build with glibc 2.36 2022-12-21 11:35:32 +01:00
patches-12.x toolchain: gcc: improve patch handling by introducing major version 2022-09-11 11:24:57 +02:00
common.mk toolchain/gcc: Fix GCC version check 2023-01-09 00:23:41 +01:00
Config.in toolchain/gcc: switch to version 12 by default 2023-01-09 00:23:41 +01:00
Config.version toolchain/gcc: fix broken gcc version selection 2023-01-09 21:25:30 +01:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00