summaryrefslogtreecommitdiff
path: root/include/linux/tc_ematch/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2026-02-23 12:10:28 -0700
committerNicolas Schier <nsc@kernel.org>2026-03-12 12:52:37 +0100
commitec4c28276c140a9338700041112f64f8d7ccc3e9 (patch)
treec88b94968b5026ce0877505f2c06b205c16f83e3 /include/linux/tc_ematch/git@git.tavy.me:linux.git
parentfebb5c81fa8df999e24877f6226f8cba9f06ce6a (diff)
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>
Diffstat (limited to 'include/linux/tc_ematch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions