CPP is encoded into xrdb binary and it ends up encoding the cpp from
HOSTTOOLS location which obviously wont be where cpp will live at
runtime

Fixes
WARNING: xrdb-1.2.1-r0 do_package_qa: QA Issue: File /usr/bin/xrdb in package 
xrdb contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb 
b/meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb
index a8c5b3d0a4..20fdea1a54 100644
--- a/meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d1167c4f586bd41f0c62166db4384a69"
 DEPENDS += "libxmu"
 
 SRC_URI[sha256sum] = 
"4f5d031c214ffb88a42ae7528492abde1178f5146351ceb3c05f3b8d5abee8b4"
+
+EXTRA_OECONF += "--with-cpp=${bindir}/cpp"
-- 
2.40.1

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

Reply via email to