jemalloc: fix always_inline build failure

Enable debug build flag in jemalloc to avoid error as below:
inlining failed in call to 'always_inline' 'heap_ph_cmp':
function not considered for inlining

Signed-off-by: Xiaozhan Li <Xiaozhan.Li.CN@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Xiaozhan Li
2026-04-23 09:32:51 +08:00
committed by Khem Raj
parent 8c9adcfadb
commit b5a792e209
@@ -29,6 +29,8 @@ EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"
# For some reason VERSION file populated only in tarball distribution.
# Adding jemalloc version since this recipe is using source code from git tag
EXTRA_OECONF:append = " --with-version=${PV_LONG} --enable-xmalloc"
# Enable jemalloc debug build flag if DEBUG_BUILD is enabled
EXTRA_OECONF:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '--enable-debug=yes', '', d)}"
do_install:append() {
sed -i -e 's@${STAGING_DIR_HOST}@@g' \