These flags are needed to edit absolute build paths which get encoded
for debug informaiton etc.

Fixes
WARNING: lshw-02.19.2+gitAUTOINC+42fef56573-r0 do_package_qa: QA Issue: File 
/usr/sbin/.debug/lshw in package lshw-dbg contains reference to TMPDIR 
[buildpaths]

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb 
b/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb
index f2de593cf1..6420c7e325 100644
--- a/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb
+++ b/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb
@@ -29,7 +29,7 @@ PACKAGECONFIG[sqlite] = "SQLITE=1,SQLITE=0,sqlite3"
 PACKAGECONFIG[zlib]   = "ZLIB=1,ZLIB=0,zlib gzip-native"
 
 # use the PACKAGECONFIG configurations arguments
-EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
+EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} RPM_OPT_FLAGS='${CFLAGS}'"
 
 do_compile() {
     # build core only - don't ship gui
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102878): 
https://lists.openembedded.org/g/openembedded-devel/message/102878
Mute This Topic: https://lists.openembedded.org/mt/99161652/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to