Skip to content

Commit

Permalink
fix regression that introduced race condition build failures for gcc
Browse files Browse the repository at this point in the history
commit 20ce424 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.
  • Loading branch information
richfelker committed Jul 7, 2016
1 parent 20ce424 commit 43519b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litecross/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down

0 comments on commit 43519b5

Please sign in to comment.