mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
gperftools: separate off libtcmalloc-minimal
From: Anatol Belski <anbelski@microsoft.com> The libctmalloc-minimal is what is useful for C++ apps if only the improved allocator is needed. The gperftools package stays otherwise fully backward compatible as it's going to depend on libtcmalloc-minimal. The libtcmalloc-minimal can be installed separately, which allows for more flexibility and for cleaner image contents. The discussion on the patch https://patchwork.openembedded.org/patch/163234/ has shown, that a separate package for other libs might have less sense in this case, so it's not done. The patch 163234 can be abandoned in favor of this for now. Signed-off-by: Anatol Belski <anbelski@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
74ca25227b
commit
1636db7e6a
@ -28,3 +28,11 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null"
|
||||
ARM_INSTRUCTION_SET_armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm"
|
||||
|
||||
# Ensure static libs are always enabled, as they seem to be not produced by
|
||||
# default at least on ARM.
|
||||
EXTRA_OECONF_append += " --enable-static"
|
||||
|
||||
PACKAGE_BEFORE_PN += "libtcmalloc-minimal"
|
||||
FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}"
|
||||
RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user