Skip to content

Commit 5a821e2

Browse files
hramrachmaddy-kerneldev
authored andcommitted
powerpc/boot: Fix build with gcc 15
Similar to x86 the ppc boot code does not build with GCC 15. Copy the fix from commit ee2ab46 ("x86/boot: Use '-std=gnu11' to fix build with GCC 15") Signed-off-by: Michal Suchanek <[email protected]> Tested-by: Amit Machhiwal <[email protected]> Tested-by: Venkat Rao Bagalkote <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent ab1456c commit 5a821e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/boot/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ BOOTCPPFLAGS := -nostdinc $(LINUXINCLUDE)
7070
BOOTCPPFLAGS += -isystem $(shell $(BOOTCC) -print-file-name=include)
7171

7272
BOOTCFLAGS := $(BOOTTARGETFLAGS) \
73+
-std=gnu11 \
7374
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
7475
-fno-strict-aliasing -O2 \
7576
-msoft-float -mno-altivec -mno-vsx \

0 commit comments

Comments
 (0)