From: Mike Frysinger Date: Tue, 14 Mar 2017 23:35:50 +0000 (-0700) Subject: sys-apps/memtest86+: make sure we keep -fno-PIC on test.o/random.o objects #538596 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=270d1954363def0d88b42054d5991c9fde0a8071;p=gentoo.git sys-apps/memtest86+: make sure we keep -fno-PIC on test.o/random.o objects #538596 --- 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: