Since ppc32 has been made to use arch/powerpc it has introduced a build-time regression where userland CFLAGS are being leaked. This is especially obvious when a user tries to "make zImage" with an SSP enabled gcc. This patch restores sanity. Signed-off-by: John Mylchreest --- linux-2.6/arch/powerpc/boot/Makefile.orig 2006-04-01 23:36:39.000000000 +0100 +++ linux-2.6/arch/powerpc/boot/Makefile 2006-04-01 23:36:55.000000000 +0100 @@ -65,7 +65,7 @@ clean-files := $(zlib) $(zlibheader) $(z quiet_cmd_bootcc = BOOTCC $@ - cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $< + cmd_bootcc = $(CROSS32CC) -D__KERNEL__ -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $< quiet_cmd_bootas = BOOTAS $@ cmd_bootas = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTAFLAGS) -c -o $@ $<