From: Max Krummenacher <max.krummenac...@toradex.com> Make sure that the OE provided CFLAGS are passed to the compiler so that the -fdebug-prefix-map and -fmacro-prefix-map options are actually active.
Fixes: | WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/libtraceevent.a in package libtraceevent-staticdev contains reference to TMPDIR [buildpaths] | WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libtraceevent.so.1.7.2 in package libtraceevent-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Max Krummenacher <max.krummenac...@toradex.com> --- meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb b/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb index 089b6814c7..b5c0834d89 100644 --- a/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb +++ b/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb @@ -14,6 +14,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git;branch=$ S = "${WORKDIR}/git" +export EXTRA_CFLAGS = "${CFLAGS}" + inherit pkgconfig do_install() { -- 2.35.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#181169): https://lists.openembedded.org/g/openembedded-core/message/181169 Mute This Topic: https://lists.openembedded.org/mt/98839183/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-