Kill BOARD_MALLOC_ALIGNMENT.
Bug: http://b/26403338 Change-Id: Iba4006277fdb7c7ca60542c517634ae86c847b4f
This commit is contained in:
parent
e1f8c66d0b
commit
63a42070fc
@ -112,11 +112,6 @@ cc_defaults {
|
|||||||
device_uses_dlmalloc: {
|
device_uses_dlmalloc: {
|
||||||
cflags: ["-DUSE_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.
|
// Clang/llvm has incompatible long double (fp128) for x86_64.
|
||||||
// https://llvm.org/bugs/show_bug.cgi?id=23897
|
// https://llvm.org/bugs/show_bug.cgi?id=23897
|
||||||
|
@ -655,13 +655,6 @@ else
|
|||||||
libc_common_c_includes += external/jemalloc/include
|
libc_common_c_includes += external/jemalloc/include
|
||||||
endif
|
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
|
# Define some common conlyflags
|
||||||
libc_common_conlyflags := \
|
libc_common_conlyflags := \
|
||||||
-std=gnu99
|
-std=gnu99
|
||||||
|
Loading…
x
Reference in New Issue
Block a user