aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-27 11:43:07 +0100
committerLoïc Hoguin <[email protected]>2018-11-27 11:43:07 +0100
commit8d0bf3b30b602b7f81f8d4749c5137440310e51f (patch)
tree8843447a66f5419d031817211eb3f15f0f75ee28 /core/deps.mk
parentf07636e66759ecdaff4ee4e9097ecbf88eb6b217 (diff)
downloaderlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.tar.gz
erlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.tar.bz2
erlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.zip
Fix jobserver unavailable warnings
When the $(MAKE) is inside an $(eval $(call ...)) then it needs to be escaped as $$(MAKE). When the $(MAKE) is inside a $(call ...) then I did not figure out a way other than passing it as an argument. When the $(MAKE) is inside many levels of $(call $(call ...)) it's easier to avoid it if at all possible, so I replaced the rebar $(MAKE) call with ./bootstrap. I confirmed it works fine on Windows as well.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index fa6ad84..4695912 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -215,7 +215,7 @@ define dep_autopatch_fetch_rebar2
git clone -q -n -- https://github.com/rebar/rebar $(ERLANG_MK_TMP)/rebar; \
cd $(ERLANG_MK_TMP)/rebar; \
git checkout -q 576e12171ab8d69b048b827b92aa65d067deea01; \
- $(MAKE); \
+ ./bootstrap; \
cd -; \
fi
endef