summaryrefslogtreecommitdiff
path: root/package/dmalloc/0003-fix-parallel-build.patch
blob: c521a114bb516668a34dcdb9b18f80afd04ca5c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 <alex.suykov@gmail.com>

--- a/Makefile.in
+++ b/Makefile.in
@@ -401,6 +401,7 @@
 compat.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h
 dmalloc.o: dmalloc.c conf.h settings.h dmalloc_argv.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_fc_t.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \