From 11fc58fa13ab4d8a60668203da9673c3812f5300 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 12 Dec 2019 02:00:13 +0100 Subject: [PATCH] Fix parallel make targets my last patch here fixed a missing dependency, but in the wrong way. It would build some object files twice, which could race. The lib/all target already builds both libtcc{,b}1.a libs, so a simple dependency is enough. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6e8774cc..9cf6f7e0 100644 --- a/Makefile +++ b/Makefile @@ -250,8 +250,7 @@ libtcc1.a : tcc$(EXESUF) FORCE @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$* # TinyCC runtime libraries -libtccb1.a : tcc$(EXESUF) FORCE - @$(MAKE) -C lib DEFINES='$(DEF-$T)' +libtccb1.a : libtcc1.a # Cross libtcc1.a %-libtccb1.a : %-tcc$(EXESUF) FORCE