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.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d1bf2db7cc2bcb8b6ac45bb382c3f2b6bb762053)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
alperak 2024-07-31 13:00:37 +03:00 committed by Armin Kuster
parent 1d097c8c4f
commit 3472995aea

View File

@ -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 ${WORKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf
install -d ${D}${systemd_unitdir}/system/
@ -19,3 +21,4 @@ do_install:append() {
}
inherit autotools systemd