diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-07-20 01:03:51 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-07-20 01:03:51 -0500 |
commit | 6e7924eb6dcdb1d3f42904468a06ac1d7871c8af (patch) | |
tree | 69df5d97a4ce327c809265f7b7c4af2c4f725b42 /libre/memtest86+/memtest86+-5.01-test-random-cflags.patch | |
parent | d581cc992c3fb8527ec26262cca679fdcd2212aa (diff) | |
download | abslibre-6e7924eb6dcdb1d3f42904468a06ac1d7871c8af.tar.gz abslibre-6e7924eb6dcdb1d3f42904468a06ac1d7871c8af.tar.bz2 abslibre-6e7924eb6dcdb1d3f42904468a06ac1d7871c8af.zip |
memtest86+-5.01-2.parabola2: rebuild
Diffstat (limited to 'libre/memtest86+/memtest86+-5.01-test-random-cflags.patch')
-rw-r--r-- | libre/memtest86+/memtest86+-5.01-test-random-cflags.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/memtest86+/memtest86+-5.01-test-random-cflags.patch b/libre/memtest86+/memtest86+-5.01-test-random-cflags.patch new file mode 100644 index 000000000..dcdccb8c6 --- /dev/null +++ b/libre/memtest86+/memtest86+-5.01-test-random-cflags.patch @@ -0,0 +1,21 @@ +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: |