summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-12-07 15:10:02 +0000
committerNed Ludd <solar@gentoo.org>2004-12-07 15:10:02 +0000
commit4b3e5b212b8f819d21fcbdbe728649d9323d25f2 (patch)
treeccfcf92d6a4ef3aa977a8e703c8b273d84037768 /sys-apps/memtest86/files
parentFix for bug #72461 (diff)
downloadhistorical-4b3e5b212b8f819d21fcbdbe728649d9323d25f2.tar.gz
historical-4b3e5b212b8f819d21fcbdbe728649d9323d25f2.tar.bz2
historical-4b3e5b212b8f819d21fcbdbe728649d9323d25f2.zip
- patched memtest86-3.1a to disable pic on test.c which was causing BREG errors when building. x86 asm guru needed to make the test pic aware someday
Diffstat (limited to 'sys-apps/memtest86/files')
-rw-r--r--sys-apps/memtest86/files/memtest86-3.1a-test-pic.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/memtest86/files/memtest86-3.1a-test-pic.patch b/sys-apps/memtest86/files/memtest86-3.1a-test-pic.patch
new file mode 100644
index 000000000000..9c76ef536886
--- /dev/null
+++ b/sys-apps/memtest86/files/memtest86-3.1a-test-pic.patch
@@ -0,0 +1,20 @@
+--- Makefile.orig 2004-11-12 07:52:39.000000000 -0500
++++ Makefile 2004-11-12 07:52:02.000000000 -0500
+@@ -12,7 +12,7 @@
+ #
+ # gcc compiler options, these settings should suffice
+ #
+-CCFLAGS=-Wall -march=i486 -Os -fomit-frame-pointer -fno-builtin -ffreestanding
++CCFLAGS=-Wall -march=i486 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector
+
+ AS=as -k
+
+@@ -26,7 +26,7 @@
+ $(CC) -S $(CCFLAGS) -fPIC reloc.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