diff options
authorGwendal Grignou <>2020-01-16 12:33:26 -0800
committerJens Axboe <>2020-01-16 13:33:59 -0700
commitf4f8ef7cdea138cfaa2f3ca0ee31fa23d3bcf1cc (patch)
parent9c73da91540b27adaaf56065629e831cc50c5a3d (diff)
fix parallel build of btt and blkiomon
rbtree.c is used by both binaries. It is possible that when make -C btt is invoked rbtree.o does not exist yet, but is already schedule by the compilation of blkiomon. That could result in recompiling rbtree.o again for btt/btt. In that case, at install time, make will recompile blkiomon which can fail in gentoo, because CC variable is not overriden by ebuild script at install time. (see Add a dependency on SUBDIRS to wait for all binary in . to be compiled. It will guarante rbtree.o exists. Signed-off-by: Gwendal Grignou <> Signed-off-by: Jens Axboe <>
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5917814..eb3c6a1 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ all: $(ALL) $(SUBDIRS)
# We always descend into subdirs because they contain their own dependency
# information which we don't track in this top level Makefile.
$(MAKE) -C $@