[GIT PULL] x86 fix

Ingo Molnar posted 1 patch 1 year ago
There is a newer version of this series
arch/x86/boot/compressed/Makefile | 1 +
1 file changed, 1 insertion(+)
[GIT PULL] x86 fix
Posted by Ingo Molnar 1 year ago
Linus,

Please pull the latest x86/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2025-02-08

   # HEAD: ee2ab467bddfb2d7f68d996dbab94d7b88f8eaf7 x86/boot: Use '-std=gnu11' to fix build with GCC 15

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.

 Thanks,

	Ingo

------------------>
Nathan Chancellor (1):
      x86/boot: Use '-std=gnu11' to fix build with GCC 15


 arch/x86/boot/compressed/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
index f2051644de94..606c74f27459 100644
--- a/arch/x86/boot/compressed/Makefile
+++ b/arch/x86/boot/compressed/Makefile
@@ -25,6 +25,7 @@ targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
 # avoid errors with '-march=i386', and future flags may depend on the target to
 # be valid.
 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS)
+KBUILD_CFLAGS += -std=gnu11
 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
 KBUILD_CFLAGS += -Wundef
 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
Re: [GIT PULL] x86 fix
Posted by pr-tracker-bot@kernel.org 1 year ago
The pull request you sent on Sat, 8 Feb 2025 10:33:08 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2025-02-08

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a5057ded6e882fc7a5f26de592259818ed07d397

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html