mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user