diff mbox series

[meta-oe,1/3] xrdb: Pass target CPP location to configure

Message ID 20230522011034.1311197-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/3] xrdb: Pass target CPP location to configure | expand

Commit Message

Khem Raj May 22, 2023, 1:10 a.m. UTC
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 <raj.khem@gmail.com>
---
 meta-oe/recipes-graphics/xorg-app/xrdb_1.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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"