Skip to contentSkip to conversation

tayga: Fix contains reference to TMPDIR [buildpaths] warning

PATCH New alperak 1 participant 1 message Jul 31, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 tayga: Fix contains reference to TMPDIR [buildpaths] warning

WARNING: tayga-0.9.2-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/tayga in package tayga-dbg contains reference to TMPDIR [buildpaths]

Make sure that the OE provided CFLAGS are passed to the compiler.

---
 meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb +3 -0
index f6b58559d..f36435c8e 100644
@@ -12,6 +12,8 @@ SRC_URI[sha256sum] = "2b1f7927a9d2dcff9095aff3c271924b052ccfd2faca9588b277431a44
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE:${PN} = "tayga.service"
 
+EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"
+
 do_install:append() {
   install -m 0644 ${UNPACKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf
   install -d ${D}${systemd_unitdir}/system/
@@ -19,3 +21,4 @@ do_install:append() {
 }
 
 inherit autotools systemd
+
Signature · 1 line
2.25.1