Package: mknbi / 1.4.4-10

04-no-stack-protector.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Michael Bienia <geser@ubuntu.com>
Description: Build with -fno-stack-protector
 -fstack-protector is the default on Ubuntu, but requires libc support.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/520648
Forwarded: no
Last-Update: 2013-05-07

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@
 FIRSTRELOCS=	0x92800 0x82800
 OLDGAS:=	$(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
 CFLAGS=		-I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
+		-fno-stack-protector \
 		-m32 -mcpu=i386 \
 		-Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
 LDBINARYFLAG=	--oformat binary -m elf_i386