fix erlang (add ./configure --xcomp-conf

master
serkus01 2 years ago
parent 8cdc5fe8b6
commit d3f84333a3

@ -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 $@

Loading…
Cancel
Save