Browse Source

Update Erlang.mk

Loïc Hoguin 9 years ago
parent
commit
6deac75ea4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      erlang.mk

+ 1 - 1
erlang.mk

@@ -5898,7 +5898,7 @@ $(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp))))
 define ci_otp_target
 ifeq ($(wildcard $(CI_INSTALL_DIR)/$(1)),)
 $(CI_INSTALL_DIR)/$(1): $(KERL)
-	$(KERL_MAKEFLAGS) $(KERL) build git $(OTP_GIT) $(1) $(1)
+	MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $(1) $(1)
 	$(KERL) install $(1) $(CI_INSTALL_DIR)/$(1)
 endif
 endef