diff options
Diffstat (limited to 'system/memtest86+/patches/memtest86+-5.01-test-random-cflags.patch')
-rw-r--r-- | system/memtest86+/patches/memtest86+-5.01-test-random-cflags.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/system/memtest86+/patches/memtest86+-5.01-test-random-cflags.patch b/system/memtest86+/patches/memtest86+-5.01-test-random-cflags.patch deleted file mode 100644 index dcdccb8c6e..0000000000 --- a/system/memtest86+/patches/memtest86+-5.01-test-random-cflags.patch +++ /dev/null @@ -1,21 +0,0 @@ -make sure we re-use the existing CFLAGS settings so that we get all the right -flags (like -fno-stack-protector). just append the few changes we want (the -optimization levels). - -https://bugs.gentoo.org/590974 - ---- a/Makefile -+++ b/Makefile -@@ -52,10 +52,10 @@ reloc.o: reloc.c - $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c - - test.o: test.c -- $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding test.c -+test.o: CFLAGS += -O0 -fno-PIC - - random.o: random.c -- $(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c -+random.o: CFLAGS += -O3 -fno-PIC - - # rule for build number generation - build_number: |