From: Max Krummenacher Date: Thu, 11 May 2023 23:22:12 +0000 (+0200) Subject: libtraceevent: fix qa issue reference to tmpdir X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~951 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb5cffd48513f05bc66c20e91a25e13d3ba1555c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libtraceevent: fix qa issue reference to tmpdir 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 Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb b/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb index 089b6814c7d..b5c0834d891 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() {