diff options
| author | Max Krummenacher <max.krummenacher@toradex.com> | 2023-05-12 01:22:12 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-22 10:53:47 +0100 |
| commit | 9f504623c57c60fd8abf5645c6e6c5a639c0b2f1 (patch) | |
| tree | fc8e7848787628faceb6546e0c3759408880d2a0 | |
| parent | 2d5f1b7ac1e5f235ad0d295c3333b85c1d42f3fa (diff) | |
| download | poky-9f504623c57c60fd8abf5645c6e6c5a639c0b2f1.tar.gz | |
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]
(From OE-Core rev: bb5cffd48513f05bc66c20e91a25e13d3ba1555c)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/libtraceevent/libtraceevent_1.7.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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=$ | |||
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| 17 | export EXTRA_CFLAGS = "${CFLAGS}" | ||
| 18 | |||
| 17 | inherit pkgconfig | 19 | inherit pkgconfig |
| 18 | 20 | ||
| 19 | do_install() { | 21 | do_install() { |
