diff options
author | Ned Ludd <solar@gentoo.org> | 2004-12-07 15:10:02 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-12-07 15:10:02 +0000 |
commit | e249d8b76b882768ffaf796d813eded1549693d3 (patch) | |
tree | 150d13a3b429149efd3c5d34452100ce43f1863f /sys-apps/memtest86/files | |
parent | Fix for bug #72461 (Manifest recommit) (diff) | |
download | gentoo-2-e249d8b76b882768ffaf796d813eded1549693d3.tar.gz gentoo-2-e249d8b76b882768ffaf796d813eded1549693d3.tar.bz2 gentoo-2-e249d8b76b882768ffaf796d813eded1549693d3.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.patch | 20 |
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 |