Commit cac64f2b authored by Alex Suykov's avatar Alex Suykov Committed by Thomas Petazzoni
Browse files

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: default avatarAlex Suykov <alex.suykov@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 5e86fba1
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
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 <alex.suykov@gmail.com>

--- 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