File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -4453,7 +4453,7 @@ PIC_CFLAGS='-fPIC -DPIC'
4453
4453
CTARGET=' -o $@'
4454
4454
LDTARGET=' -o $@'
4455
4455
EXTRA_LDFLAGS=
4456
- MKLIB=' $(AR) crus $@'
4456
+ MKLIB=' ar crus $@'
4457
4457
CC_MM=1
4458
4458
4459
4459
default_munmap=" 1"
@@ -4479,6 +4479,18 @@ case "${host}" in
4479
4479
4480
4480
force_lazy_lock=" 1"
4481
4481
;;
4482
+ * -* -linux-android* )
4483
+ CFLAGS=" $CFLAGS "
4484
+ CPPFLAGS=" $CPPFLAGS -D_GNU_SOURCE"
4485
+ abi=" elf"
4486
+ $as_echo " #define JEMALLOC_HAS_ALLOCA_H 1" >> confdefs.h
4487
+
4488
+ $as_echo " #define JEMALLOC_PURGE_MADVISE_DONTNEED " >> confdefs.h
4489
+
4490
+ $as_echo " #define JEMALLOC_THREADED_INIT " >> confdefs.h
4491
+
4492
+ default_munmap=" 0"
4493
+ ;;
4482
4494
* -* -linux* )
4483
4495
CFLAGS=" $CFLAGS "
4484
4496
CPPFLAGS=" $CPPFLAGS -D_GNU_SOURCE"
You can’t perform that action at this time.
0 commit comments