diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-16 15:28:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-16 15:29:39 -0500 |
commit | 073fa98637f186287e871249302badd0893f5f15 (patch) | |
tree | 522f703ce3ac2d5630ea31a64eaa812799145105 /sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch | |
parent | app-misc/livecd-tools: sync live ebuild (diff) | |
download | gentoo-073fa98637f186287e871249302badd0893f5f15.tar.gz gentoo-073fa98637f186287e871249302badd0893f5f15.tar.bz2 gentoo-073fa98637f186287e871249302badd0893f5f15.zip |
sys-apps/memtest86: add fixes from memtest86+ #568292
This fixes building w/gcc-5 and parallel build races.
Diffstat (limited to 'sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch')
-rw-r--r-- | sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch b/sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch new file mode 100644 index 000000000000..cd8fc66ba094 --- /dev/null +++ b/sys-apps/memtest86/files/memtest86-4.3.7-no-clean.patch @@ -0,0 +1,16 @@ +don't run the clean target when building all as we run into parallel races: + - memtest kicks off building of a bunch of .o files + - clean runs in parallel which runs `rm` and deletes some of the new .o + - memtest goes to link and fails because objects are missing + +--- a/Makefile ++++ b/Makefile +@@ -19,7 +19,7 @@ + OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
+ config.o memsize.o error.o smp.o cpuid.o vmem.o random.o
+
+-all: clean memtest.bin memtest
++all: memtest.bin memtest
+
+ # Link it statically once so I know I don't have undefined
+ # symbols and then link it dynamically so I have full
|