From d28b000e1d33222a4ef0de387a6e359a52cb8249 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 22 Feb 2012 11:55:57 +0100 Subject: Make hipe hipe-compiled w/ --enable-native-libs --- make/otp.mk.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'make') 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 $@) $< -- cgit v1.2.3