pass correct flags to jemalloc for cross-compiling

This commit is contained in:
Daniel Micay 2013-06-07 17:24:25 -04:00
parent b8cf2f8056
commit a593d8f67c
1 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,8 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS)
endif
$$(JEMALLOC_LIB_$(1)_$(2)):
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure --disable-experimental
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1)
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
# These could go in rt.mk or rustllvm.mk, they're needed for both.