openwrt/toolchain/gcc
Daniel Golle 915dfbdbb1
config: select KERNEL_WERROR if building with default GCC version
[ during cherry-pick GCC version was changed to default GCC 12 version ]

At the moment we have to manually follow the default GCC version
also in config/Config-kernel.in. This tends to be forgotten at GCC
version bumps (just happened when switching from version 12 to 13).
Instead, introduce a hidden Kconfig symbol which implies KERNEL_WERROR
in toolchain/gcc/Config.in where it is visible for developers changing
the default version.

Also remove the explicit default on BUILDBOT to avoid a circular
dependency and also because buildbots anyway implicitly always select
the default GCC version.

Reference: https://github.com/openwrt/openwrt/pull/15064
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [GCC 12 default]
(cherry picked from commit 501ef81040)
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: select KERNEL_WERROR if building with default GCC version 2024-04-18 11:52:56 +02:00
Config.version toolchain: gcc: update to 12.3.0 2023-05-12 12:11:20 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00