Move jemalloc due to whole_static_library bug.
Rename jemalloc.cpp to jemalloc_wrapper.cpp to avoid problems with the libc library having two jemalloc.o files that clobber each other. Change-Id: I9a2d966dbf414b1367ee0ef1f0d73fca6f25b518
This commit is contained in:
parent
a217a0cdb3
commit
3a37576d4b
@ -501,7 +501,7 @@ endif
|
||||
|
||||
ifeq ($(MALLOC_IMPL),jemalloc)
|
||||
libc_common_cflags += -DUSE_JEMALLOC
|
||||
libc_malloc_src := bionic/jemalloc.cpp
|
||||
libc_malloc_src := bionic/jemalloc_wrapper.cpp
|
||||
else
|
||||
libc_common_cflags += -DUSE_DLMALLOC
|
||||
libc_malloc_src := bionic/dlmalloc.c
|
||||
|
Loading…
Reference in New Issue
Block a user