File tree Expand file tree Collapse file tree 3 files changed +177
-162
lines changed Expand file tree Collapse file tree 3 files changed +177
-162
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,15 @@ endif
212
212
213
213
$$(JEMALLOC_LIB_$(1 ) _$(2 ) ) :
214
214
cd $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc; $(S ) src/rt/jemalloc/configure \
215
- --disable-experimental --build=$(CFG_BUILD_TRIPLE ) --host=$(1 )
215
+ --disable-experimental --build=$(CFG_BUILD_TRIPLE ) --host=$(1 ) \
216
+ EXTRA_CFLAGS="$$(CFG_GCCISH_CFLAGS ) $$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) $$(SNAP_DEFINES ) " \
217
+ LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS ) $$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) " \
218
+ CC="$$(CC_$(1 ) ) " \
219
+ CXX="$$(CXX_$(1 ) ) " \
220
+ AR="$$(AR_$(1 ) ) "
216
221
$$(Q )$$(MAKE ) -C $$(CFG_BUILD_DIR ) /rt/$(1 ) /stage$(2 ) /jemalloc
217
222
223
+
218
224
# These could go in rt.mk or rustllvm.mk, they're needed for both.
219
225
220
226
# This regexp has a single $, escaped twice
You can’t perform that action at this time.
0 commit comments