mirror-linux/arch/parisc
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
..
boot kbuild: Consolidate C dialect options 2026-03-12 12:52:37 +01:00
configs serial: drop SERIAL_8250_DEPRECATED_OPTIONS 2025-11-21 18:31:27 +01:00
include mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
kernel Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lib parisc: Remove spurious if statement from raw_copy_from_user() 2025-10-07 16:44:29 +02:00
math-emu parisc: Fix double SIGFPE crash 2025-05-04 17:30:03 +02:00
mm arch, mm: consolidate initialization of SPARSE memory model 2026-01-26 20:02:18 -08:00
net Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
video arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
Kbuild parisc: Wire up eBPF JIT compiler 2023-08-22 10:24:47 +02:00
Kconfig parisc: mm: enable MMU_GATHER_RCU_TABLE_FREE 2026-02-06 15:47:18 -08:00
Kconfig.debug parisc: Use page table locks only if DEBUG_KERNEL is enabled 2023-08-20 20:23:46 +02:00
Makefile parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers 2025-07-25 22:45:23 +02:00
defpalo.conf
install.sh kbuild: Abort make on install failures 2024-07-20 13:34:54 +09:00