mk: arm support - disable tls of jemalloc on rt.mk
This commit is contained in:
parent
da510bfb4a
commit
00ff170e7f
1 changed files with 12 additions and 0 deletions
12
mk/rt.mk
12
mk/rt.mk
|
@ -210,6 +210,17 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS)
|
||||||
V=$$(VERBOSE)
|
V=$$(VERBOSE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(OSTYPE_$(1)), linux-androideabi)
|
||||||
|
$$(JEMALLOC_LIB_$(1)_$(2)):
|
||||||
|
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
|
||||||
|
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1) --disable-tls \
|
||||||
|
EXTRA_CFLAGS="$$(CFG_GCCISH_CFLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
|
||||||
|
LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1)))" \
|
||||||
|
CC="$$(CC_$(1))" \
|
||||||
|
CXX="$$(CXX_$(1))" \
|
||||||
|
AR="$$(AR_$(1))"
|
||||||
|
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
|
||||||
|
else
|
||||||
$$(JEMALLOC_LIB_$(1)_$(2)):
|
$$(JEMALLOC_LIB_$(1)_$(2)):
|
||||||
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
|
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
|
||||||
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1) \
|
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1) \
|
||||||
|
@ -219,6 +230,7 @@ $$(JEMALLOC_LIB_$(1)_$(2)):
|
||||||
CXX="$$(CXX_$(1))" \
|
CXX="$$(CXX_$(1))" \
|
||||||
AR="$$(AR_$(1))"
|
AR="$$(AR_$(1))"
|
||||||
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
|
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# These could go in rt.mk or rustllvm.mk, they're needed for both.
|
# These could go in rt.mk or rustllvm.mk, they're needed for both.
|
||||||
|
|
Loading…
Add table
Reference in a new issue