summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch b/sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch
index 8a76d0464143..dcdccb8c6e97 100644
--- a/sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch
+++ b/sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch
@@ -11,11 +11,11 @@ https://bugs.gentoo.org/590974
test.o: test.c
- $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding test.c
-+test.o: CFLAGS += -O0
++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
++random.o: CFLAGS += -O3 -fno-PIC
# rule for build number generation
build_number: