From 43519b575c6317f73a786e7c4878a53b30049a32 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 7 Jul 2016 16:56:18 +0000 Subject: [PATCH] fix regression that introduced race condition build failures for gcc commit 20ce424e65ab227e3dc866ab6ac2d2b096f55fd8 introduced a situation where two instances of gcc's build process could be invoked concurrently in the process of fixing the same issue for musl. only the production of native compilers seems to have been affected. add a direct dependency edge rather than relying on the indirect dependency, which was only present in non-native mode. --- litecross/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecross/Makefile b/litecross/Makefile index e913506..06621f0 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -177,7 +177,7 @@ obj_sysroot/.lc_libs: | obj_musl/.lc_built cd obj_musl && $(MAKE) $(MUSL_VARS) DESTDIR=$(PWD)/obj_sysroot install touch $@ -obj_toolchain/.lc_built: | obj_toolchain/.lc_configured +obj_toolchain/.lc_built: | obj_toolchain/.lc_configured obj_toolchain/gcc/.lc_built cd obj_toolchain && $(MAKE) MAKE="$(MAKE)" LC_ROOT=$(PWD) touch $@