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:
Christopher Ferris 2014-06-16 17:13:09 -07:00
parent a217a0cdb3
commit 3a37576d4b
2 changed files with 1 additions and 1 deletions

View File

@ -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