diff --git a/erlang/Makefile b/erlang/Makefile index 26c47dc..d12054b 100644 --- a/erlang/Makefile +++ b/erlang/Makefile @@ -5,7 +5,6 @@ HOMEPAGE="https://www.erlang.org/" PKG_SOURCES := https://github.com/erlang/otp/releases/download/OTP-25.0/otp_src_25.0.tar.gz PKG_MD5 := 3c4c9da083f2a6b89aa1766415339d0c - #PKG_PATCHES := pkg_patch.txt include $(EXTBLD_LIB) @@ -13,19 +12,23 @@ include $(EXTBLD_LIB) $(CONFIGURE) : export EMBOX_GCC_LINK=full; \ cd $(PKG_SOURCE_DIR) && ( \ - ./configure --host=$(AUTOCONF_TARGET_TRIPLET) \ + ./configure \ + --host=$(AUTOCONF_TARGET_TRIPLET) \ + --target=$(AUTOCONF_TARGET_TRIPLET) \ + --xcomp-conf \ + + CC=$(EMBOX_GCC) \ + ) + touch $@ + + #./configure --host=$(AUTOCONF_TARGET_TRIPLET) \ --target=$(AUTOCONF_TARGET_TRIPLET) \ -with-termcap=no \ -with-javac=no \ - - CC=$(EMBOX_GCC) \ - ) - touch $@ -#-with-termcap=no \ $(BUILD) : cd $(PKG_SOURCE_DIR) && ( \ - $(MAKE) MAKEFLAGS='$(EMBOX_IMPORTED_MAKEFLAGS)'; \ + make \ ) touch $@