This is a library with some tools, so inherit lib_package so the tools are packaged separately from the library.
Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-support/xxhash/xxhash_0.8.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/xxhash/xxhash_0.8.4.bb b/meta/recipes-support/xxhash/xxhash_0.8.4.bb index 736270435b2..5e1df1ed9ca 100644 --- a/meta/recipes-support/xxhash/xxhash_0.8.4.bb +++ b/meta/recipes-support/xxhash/xxhash_0.8.4.bb @@ -12,6 +12,8 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" SRCREV = "c87183a77d67f7d37e3d2d1b7eaac5e7c695e4f0" +inherit lib_package + CFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}" do_compile () { -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246594): https://lists.openembedded.org/g/openembedded-core/message/246594 Mute This Topic: https://lists.openembedded.org/mt/121413029/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
