Skip to content

Commit a5057de

Browse files
committed
Merge tag 'x86-urgent-2025-02-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar: "Fix a build regression on GCC 15 builds, caused by GCC changing the default C version that is overriden in the main Makefile but not in the x86 boot code Makefile" * tag 'x86-urgent-2025-02-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/boot: Use '-std=gnu11' to fix build with GCC 15
2 parents 3a0562d + ee2ab46 commit a5057de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/boot/compressed/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
2525
# avoid errors with '-march=i386', and future flags may depend on the target to
2626
# be valid.
2727
KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS)
28+
KBUILD_CFLAGS += -std=gnu11
2829
KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
2930
KBUILD_CFLAGS += -Wundef
3031
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING

0 commit comments

Comments
 (0)