aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-04 23:21:43 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-06 20:38:40 -0700
commita1489b3db058683c44700406013f891b800e1072 (patch)
tree81e60cd64acca5f1f04d381b6fbcd4192e0f174a
parent4e05a4362fffc71906f80568f040beaf3ef67e03 (diff)
downloadmeta-openembedded-contrib-a1489b3db058683c44700406013f891b800e1072.tar.gz
jemalloc: Fix build on musl
Fixes In file included from include/jemalloc/internal/jemalloc_preamble.h:21: include/jemalloc/internal/../jemalloc.h:235:28: error: exception specification in declaration does not match previous declaration void JEMALLOC_NOTHROW *je_aligned_alloc(size_t alignment, ^ Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mingli Yu <mingli.yu@windriver.com>
-rw-r--r--meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb
index 4738f0e786..39637663f6 100644
--- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb
+++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb
@@ -22,3 +22,5 @@ S = "${WORKDIR}/git"
inherit autotools
EXTRA_AUTORECONF += "--exclude=autoheader"
+
+EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"