Merge "Kill BOARD_MALLOC_ALIGNMENT."
am: 988e71b2b2
* commit '988e71b2b22117b0f7e994cbe764066630494125':
Kill BOARD_MALLOC_ALIGNMENT.
diff --git a/libc/Android.bp b/libc/Android.bp
index d355d4c..dd9bb6e 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -112,11 +112,6 @@
device_uses_dlmalloc: {
cflags: ["-DUSE_DLMALLOC"],
},
- // To customize dlmalloc's alignment, set BOARD_MALLOC_ALIGNMENT in
- // the appropriate BoardConfig.mk file.
- dlmalloc_alignment: {
- cflags: ["-DMALLOC_ALIGNMENT=%d"],
- },
},
// Clang/llvm has incompatible long double (fp128) for x86_64.
// https://llvm.org/bugs/show_bug.cgi?id=23897
diff --git a/libc/Android.mk b/libc/Android.mk
index 5ac0e1d..ca75230 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -655,13 +655,6 @@
libc_common_c_includes += external/jemalloc/include
endif
-# To customize dlmalloc's alignment, set BOARD_MALLOC_ALIGNMENT in
-# the appropriate BoardConfig.mk file.
-#
-ifneq ($(BOARD_MALLOC_ALIGNMENT),)
- libc_common_cflags += -DMALLOC_ALIGNMENT=$(BOARD_MALLOC_ALIGNMENT)
-endif
-
# Define some common conlyflags
libc_common_conlyflags := \
-std=gnu99