Commit 5a821e2d authored by Michal Suchanek's avatar Michal Suchanek Committed by Madhavan Srinivasan
Browse files

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 ee2ab467 ("x86/boot: Use '-std=gnu11' to fix build with GCC 15")

Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Tested-by: default avatarAmit Machhiwal <amachhiw@linux.ibm.com>
Tested-by: default avatarVenkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: default avatarMadhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250331105722.19709-1-msuchanek@suse.de
parent ab1456c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ BOOTCPPFLAGS := -nostdinc $(LINUXINCLUDE)
BOOTCPPFLAGS	+= -isystem $(shell $(BOOTCC) -print-file-name=include)

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