From: Alex Suykov Date: Sat, 3 Jan 2015 11:05:03 +0000 (+0200) Subject: dmalloc: fix parallel build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cac64f2b0cb9e6f6a39c7eede1b80152293a741a;p=buildroot.git dmalloc: fix parallel build Should hopefully fix: http://autobuild.buildroot.net/results/2cc40ae3fc8b7a287c43528b3e4ffdbcd5033c09/ [Thomas: - Rename patch to the new naming convention. - Add SoB line from Alex inside the patch itself. - Adjust the commit log to contain the reference to the autobuilder failure.] Signed-off-by: Alex Suykov Signed-off-by: Thomas Petazzoni --- diff --git a/package/dmalloc/0003-fix-parallel-build.patch b/package/dmalloc/0003-fix-parallel-build.patch new file mode 100644 index 0000000000..d6bb6e5991 --- /dev/null +++ b/package/dmalloc/0003-fix-parallel-build.patch @@ -0,0 +1,18 @@ +Fix parallel build issue + +Missing dmallocc.o <- dmalloc.h dependency may break parallel builds. +dmalloc.h is generated,and may not be around by the time gcc starts +parsing dmallocc.cc. + +Signed-off-by: Alex Suykov + +--- a/Makefile.in ++++ b/Makefile.in +@@ -399,6 +399,7 @@ + compat.o: compat.c dmalloc.h conf.h settings.h compat.h dmalloc_loc.h + dmalloc.o: dmalloc.c dmalloc_argv.h conf.h settings.h dmalloc.h \ + compat.h debug_tok.h dmalloc_loc.h env.h error_val.h version.h ++dmallocc.o: dmallocc.cc dmalloc.h return.h conf.h settings.h + dmalloc_argv.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ + dmalloc_argv_loc.h compat.h + dmalloc_rand.o: dmalloc_rand.c conf.h settings.h dmalloc_rand.h