aboutsummaryrefslogtreecommitdiffstats
path: root/core/kerl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-09-12 14:57:29 +0200
committerLoïc Hoguin <[email protected]>2018-09-12 14:57:29 +0200
commitdbc51f9caa610305fec5db0beebc629d2e46f46d (patch)
tree2d13e71afb9a533fdbc482a3b266f3dc80fd64db /core/kerl.mk
parentc3306b9b60d5569b4aaa2d33b12439778f4822a5 (diff)
downloaderlang.mk-dbc51f9caa610305fec5db0beebc629d2e46f46d.tar.gz
erlang.mk-dbc51f9caa610305fec5db0beebc629d2e46f46d.tar.bz2
erlang.mk-dbc51f9caa610305fec5db0beebc629d2e46f46d.zip
Append -native to ERLANG_HIPE installations
Diffstat (limited to 'core/kerl.mk')
-rw-r--r--core/kerl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/kerl.mk b/core/kerl.mk
index 7cdea47..c8fdc1e 100644
--- a/core/kerl.mk
+++ b/core/kerl.mk
@@ -80,9 +80,9 @@ SHELL := env PATH=$(PATH) $(SHELL)
$(eval $(call kerl_hipe_target,$(ERLANG_HIPE)))
# Build Erlang/OTP only if it doesn't already exist.
-ifeq ($(wildcard $(KERL_INSTALL_DIR)/$(ERLANG_HIPE))$(BUILD_ERLANG_OTP),)
+ifeq ($(wildcard $(KERL_INSTALL_DIR)/$(ERLANG_HIPE)-native)$(BUILD_ERLANG_OTP),)
$(info Building HiPE-enabled Erlang/OTP $(ERLANG_OTP)... Please wait...)
-$(shell $(MAKE) $(KERL_INSTALL_DIR)/$(ERLANG_HIPE) ERLANG_HIPE=$(ERLANG_HIPE) BUILD_ERLANG_OTP=1 >&2)
+$(shell $(MAKE) $(KERL_INSTALL_DIR)/$(ERLANG_HIPE)-native ERLANG_HIPE=$(ERLANG_HIPE) BUILD_ERLANG_OTP=1 >&2)
endif
endif