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>
This commit is contained in:
alperak 2024-07-31 13:00:37 +03:00 committed by Khem Raj
parent f311f1f01c
commit d1bf2db7cc
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -12,6 +12,8 @@ SRC_URI[sha256sum] = "2b1f7927a9d2dcff9095aff3c271924b052ccfd2faca9588b277431a44
SYSTEMD_PACKAGES = "${PN}" SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "tayga.service" SYSTEMD_SERVICE:${PN} = "tayga.service"
EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"
do_install:append() { do_install:append() {
install -m 0644 ${UNPACKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf install -m 0644 ${UNPACKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf
install -d ${D}${systemd_unitdir}/system/ install -d ${D}${systemd_unitdir}/system/
@ -19,3 +21,4 @@ do_install:append() {
} }
inherit autotools systemd inherit autotools systemd