From a1489b3db058683c44700406013f891b800e1072 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 4 Aug 2021 23:21:43 -0700 Subject: [PATCH] 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 Cc: Mingli Yu --- meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb | 2 ++ 1 file changed, 2 insertions(+) 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_"