diff options
author | Patrik Nyblom <pan@erlang.org> | 2012-02-22 11:55:57 +0100 |
---|---|---|
committer | Patrik Nyblom <pan@erlang.org> | 2012-02-28 15:01:02 +0100 |
commit | d28b000e1d33222a4ef0de387a6e359a52cb8249 (patch) | |
tree | e7fa7ff3f7c69cc4038280eb1e6a415066abf229 /make | |
parent | f06de6450bbbd324a0784780d892fa69908a2126 (diff) | |
download | erlang-d28b000e1d33222a4ef0de387a6e359a52cb8249.tar.gz |
Make hipe hipe-compiled w/ --enable-native-libs
Diffstat (limited to 'make')
-rw-r--r-- | make/otp.mk.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in index 507f040729..b9ab9dd4b5 100644 --- a/make/otp.mk.in +++ b/make/otp.mk.in @@ -115,6 +115,12 @@ $(EBIN)/%.beam: $(EGEN)/%.erl $(EBIN)/%.beam: $(ESRC)/%.erl $(ERLC) $(ERL_COMPILE_FLAGS) -o$(EBIN) $< +ifeq ($(NATIVE_LIBS_ENABLED),yes) +# Special rule for the HIPE bootstrap w/ native libs +../boot_ebin/%.beam: $(ESRC)/%.erl + $(ERLC) $(ERL_COMPILE_FLAGS) -o../boot_ebin $< +endif + .erl.beam: $(ERLC) $(ERL_COMPILE_FLAGS) -o$(dir $@) $< |