1 Disable stack protector for BIOS
3 Some distro GCCs (like Ubuntu) enable stack protection by default. Since the
4 BIOS doesn't link against libgcc, this results in undefined references unless
5 the stack protector is disabled.
7 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
9 diff --git a/bios/Makefile.in b/bios/Makefile.in
10 index af674b4..5c7bd4f 100644
11 --- a/bios/Makefile.in
12 +++ b/bios/Makefile.in
13 @@ -41,7 +41,7 @@ RANLIB = @RANLIB@
18 +GCC32 = gcc -m32 -fno-stack-protector
21 BX_INCDIRS = -I.. -I$(srcdir)/.. -I../iodev -I$(srcdir)/../iodev