File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,17 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS)
210210 V=$$(VERBOSE )
211211endif
212212
213+ ifeq ($(OSTYPE_$(1 ) ) , linux-androideabi)
214+ $$(JEMALLOC_LIB_$(1 ) _$(2 ) ) :
215+ cd $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc; $(S ) src/rt/jemalloc/configure \
216+ --disable-experimental --build=$(CFG_BUILD_TRIPLE ) --host=$(1 ) --disable-tls \
217+ EXTRA_CFLAGS=" $$ (CFG_GCCISH_CFLAGS) $$ (LIBUV_FLAGS_$$ (HOST_$( 1) )) $$ (SNAP_DEFINES)" \
218+ LDFLAGS=" $$ (CFG_GCCISH_LINK_FLAGS) $$ (LIBUV_FLAGS_$$ (HOST_$( 1) ))" \
219+ CC=" $$ (CC_$( 1) )" \
220+ CXX=" $$ (CXX_$( 1) )" \
221+ AR=" $$ (AR_$( 1) )"
222+ $$(Q )$$(MAKE ) -C $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc
223+ else
213224$$(JEMALLOC_LIB_$(1 ) _$(2 ) ) :
214225 cd $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc; $(S ) src/rt/jemalloc/configure \
215226 --disable-experimental --build=$(CFG_BUILD_TRIPLE ) --host=$(1 ) \
@@ -219,6 +230,7 @@ $$(JEMALLOC_LIB_$(1)_$(2)):
219230 CXX=" $$ (CXX_$( 1) )" \
220231 AR=" $$ (AR_$( 1) )"
221232 $$(Q )$$(MAKE ) -C $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc
233+ endif
222234
223235
224236# These could go in rt.mk or rustllvm.mk, they're needed for both.
You can’t perform that action at this time.
0 commit comments