hplip: Fix contains reference to TMPDIR [buildpaths] warning

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

WARNING: hplip-3.22.10-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/cupsext.so in package hplip contains reference to TMPDIR [buildpaths]

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
alperak
2024-06-26 18:36:26 +03:00
committed by Khem Raj
parent a9741a9d9c
commit a5e9d152bd
@@ -49,7 +49,7 @@ EXTRA_OECONF += "\
--with-cupsfilterdir=${libexecdir}/cups/filter \ --with-cupsfilterdir=${libexecdir}/cups/filter \
" "
EXTRA_OEMAKE = "rulessystemdir=${systemd_unitdir}/system/" EXTRA_OEMAKE = "CPPFLAGS='${CFLAGS}' rulessystemdir=${systemd_unitdir}/system/"
do_install:append() { do_install:append() {
rm -rf ${D}${datadir}/hplip/upgrade.py rm -rf ${D}${datadir}/hplip/upgrade.py