Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-03-16 12:11:41 -04:00
parent 352705fbf7
commit a28f43c6a7

View File

@ -14,7 +14,7 @@ Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
create mode 100644 libc/bionic/h_malloc_wrapper.cpp create mode 100644 libc/bionic/h_malloc_wrapper.cpp
diff --git a/libc/Android.bp b/libc/Android.bp diff --git a/libc/Android.bp b/libc/Android.bp
index 49108bf35..77908e7d9 100644 index 49108bf35..d7c066890 100644
--- a/libc/Android.bp --- a/libc/Android.bp
+++ b/libc/Android.bp +++ b/libc/Android.bp
@@ -50,6 +50,8 @@ libc_common_flags = [ @@ -50,6 +50,8 @@ libc_common_flags = [
@ -42,9 +42,9 @@ index 49108bf35..77908e7d9 100644
- product_variables: libc_scudo_product_variables, - product_variables: libc_scudo_product_variables,
- }, - },
lib32: { lib32: {
+ whole_static_libs: ["libjemalloc5"],
product_variables: libc32_scudo_product_variables, product_variables: libc32_scudo_product_variables,
- } - }
+ whole_static_libs: ["libjemalloc5"],
+ }, + },
+ lib64: { + lib64: {
+ cflags: ["-DH_MALLOC_PREFIX"], + cflags: ["-DH_MALLOC_PREFIX"],