diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-03-14 16:35:50 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-14 16:36:42 -0700 |
commit | 270d1954363def0d88b42054d5991c9fde0a8071 (patch) | |
tree | 4bbc6285be1d6bb966b80a90f4ee07c37dec5cc7 /sys-apps | |
parent | sys-apps/memtest86+: add USE=iso for building+installing a bootable ISO image (diff) | |
download | gentoo-270d1954363def0d88b42054d5991c9fde0a8071.tar.gz gentoo-270d1954363def0d88b42054d5991c9fde0a8071.tar.bz2 gentoo-270d1954363def0d88b42054d5991c9fde0a8071.zip |
sys-apps/memtest86+: make sure we keep -fno-PIC on test.o/random.o objects #538596
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/memtest86+/files/memtest86+-5.01-test-random-cflags.patch | 4 |
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: |