diff options
author | Patrik Nyblom <[email protected]> | 2012-02-22 11:55:57 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-02-28 15:01:02 +0100 |
commit | d28b000e1d33222a4ef0de387a6e359a52cb8249 (patch) | |
tree | e7fa7ff3f7c69cc4038280eb1e6a415066abf229 /make/otp.mk.in | |
parent | f06de6450bbbd324a0784780d892fa69908a2126 (diff) | |
download | otp-d28b000e1d33222a4ef0de387a6e359a52cb8249.tar.gz otp-d28b000e1d33222a4ef0de387a6e359a52cb8249.tar.bz2 otp-d28b000e1d33222a4ef0de387a6e359a52cb8249.zip |
Make hipe hipe-compiled w/ --enable-native-libs
Diffstat (limited to 'make/otp.mk.in')
-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 $@) $< |