From 270d1954363def0d88b42054d5991c9fde0a8071 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Mar 2017 16:35:50 -0700 Subject: sys-apps/memtest86+: make sure we keep -fno-PIC on test.o/random.o objects #538596 --- sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-apps/memtest86+') 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: -- cgit v1.2.3-65-gdbad