linux/arch/s390/purgatory
Nathan Chancellor ec4c28276c
kbuild: Consolidate C dialect options
Introduce CC_FLAGS_DIALECT to make it easier to update the various
places in the tree that rely on the GNU C standard and Microsoft
extensions flags atomically. All remaining uses of '-std=gnu11' and
'-fms-extensions' are in the tools directory (which has its own build
system) and other standalone Makefiles. This will allow the kernel to
use a narrower option to enable the Microsoft anonymous tagged structure
extension in a simpler manner. Place the CC_FLAGS_DIALECT block after
the configuration include (so that a future change can move the
selection of the flag to Kconfig) but before the
arch/$(SRCARCH)/Makefile include (so that CC_FLAGS_DIALECT is available
for use in those Makefiles).

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Helge Deller <deller@gmx.de>  # parisc
Link: https://patch.msgid.link/20260223-fms-anonymous-structs-v1-1-8ee406d3c36c@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>
2026-03-12 12:52:37 +01:00
..
.gitignore
head.S s390: Fix various typos 2024-10-25 16:03:23 +02:00
kexec-purgatory.S s390/purgatory: use SYM* macros instead of ENTRY(), etc. 2023-04-19 17:24:18 +02:00
Makefile kbuild: Consolidate C dialect options 2026-03-12 12:52:37 +01:00
purgatory.c lib/crypto: sha256: Make library API use strongly-typed contexts 2025-07-04 10:18:53 -07:00
purgatory.lds.S
string.c