[POWERPC] Add -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile.
authorNiels Kristian Bech Jensen <nkbj@mail.tele.dk>
Sun, 2 Jul 2006 11:02:27 +0000 (13:02 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 7 Jul 2006 10:19:15 +0000 (20:19 +1000)
commitfda7ffd25fc5bbe1b4209dfafb854c7ad7308c93
tree1611f33a11f6ecb9beef7999b4a261f4af14e75a
parent120bda20c6f64b32e8bfbdd7b34feafaa5f5332e
[POWERPC] Add -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile.

I got some undefined references to __stack_chk_fail in
arch/powerpc/boot/stdio.o and arch/powerpc/boot/prom.o when I was trying
to build a kernel on Ubuntu Edgy Eft - which includes Stack Smashing
Protection.

This patch adds -fno-stack-protector to BOOTCFLAGS in
arch/powerpc/boot/Makefile (why does BOOTCFLAGS depend on HOSTCFLAGS and
not CFLAGS?).

Regards,
Niels Kristian Bech Jensen

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile