This pach fixes the following build breakage on Ubuntu Linux, for example,
which enables GCC stack protector by default:
CC bios/int10.o
bios/int10.o: In function `vbe_get_info':
/home/penberg/linux-2.6/tools/kvm/bios/int10.c:120: undefined reference to `__stack_chk_fail'
Suggested-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
BIOS_CFLAGS += -march=i386
BIOS_CFLAGS += -mregparm=3
+BIOS_CFLAGS += -fno-stack-protector
+
bios.o: bios/bios.bin bios/bios-rom.h
bios/bios.bin.elf: bios/entry.S bios/e820.c bios/int10.c bios/int15.c bios/rom.ld.S