summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-01-11 02:44:46 +0000
committerNed Ludd <solar@gentoo.org>2005-01-11 02:44:46 +0000
commit57b91231084ed96a3a2693c43d786a786cebb3cb (patch)
tree096b0c7ef950d99ccce2dad6f727c25c9dd5148e /sys-apps/memtest86/files
parentBug #64331, Bug #51138, Bug #70062 (diff)
downloadhistorical-57b91231084ed96a3a2693c43d786a786cebb3cb.tar.gz
historical-57b91231084ed96a3a2693c43d786a786cebb3cb.tar.bz2
historical-57b91231084ed96a3a2693c43d786a786cebb3cb.zip
- fixed problem with missing ssp symbols. bug #76495
Diffstat (limited to 'sys-apps/memtest86/files')
-rw-r--r--sys-apps/memtest86/files/memtest86-3.2-solar.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/memtest86/files/memtest86-3.2-solar.patch b/sys-apps/memtest86/files/memtest86-3.2-solar.patch
new file mode 100644
index 000000000000..fa7effbeaac4
--- /dev/null
+++ b/sys-apps/memtest86/files/memtest86-3.2-solar.patch
@@ -0,0 +1,27 @@
+--- Makefile.orig 2004-11-12 07:16:25.000000000 -0500
++++ Makefile 2005-01-10 21:35:19.000000000 -0500
+@@ -12,7 +12,7 @@
+ #
+ # gcc compiler options, these settings should suffice
+ #
+-CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding
++CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector
+
+ AS=as -32
+
+@@ -21,10 +21,13 @@
+ all: memtest.bin memtest
+
+ reloc.o: reloc.c
+- $(CC) -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c
++ $(CC) -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c -fno-stack-protector
++
++random.o:
++ $(CC) -c $(CCFLAGS) -fPIC random.c
+
+ test.o: test.c test.h defs.h config.h
+- $(CC) -c $(CCFLAGS) test.c
++ $(CC) -c $(CCFLAGS) -fno-PIC test.c
+
+ main.o: main.c test.h defs.h
+ $(CC) -c $(CCFLAGS) -fPIC main.c