mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
Fix empty 0.0.0-0-g0 jemalloc version by adding --with-version
Empty "0.0.0-0-g0" jemalloc version may affect build and usage of some applications. For example, it affects folly build and usage and leads segmentation fault in some cases. Signed-off-by: Petr Chernikov <p.chernikov@yadro.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -25,6 +25,9 @@ inherit autotools ptest
|
|||||||
EXTRA_AUTORECONF += "--exclude=autoheader"
|
EXTRA_AUTORECONF += "--exclude=autoheader"
|
||||||
|
|
||||||
EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"
|
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}-0-g${SRCREV}"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
sed -i -e 's@${STAGING_DIR_HOST}@@g' \
|
sed -i -e 's@${STAGING_DIR_HOST}@@g' \
|
||||||
|
|||||||
Reference in New Issue
Block a user