agent-proxy: Ensure that OE cflags are passed properly to build

Current builds were extracting the relevance from LDFLAGS, which is
not the right thing to do. cflags carry the right elements to ensure
reproducibility with OE, so ensure its respected by makefile

Fixes
WARNING: agent-proxy-1.97-r0 do_package_qa: QA Issue: File /usr/bin/.debug/agent-proxy in package agent-proxy-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2026-01-28 18:16:05 -08:00 committed by Khem Raj
parent 347474c362
commit 0f254f6b0f
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
SECTION = "devel"
EXTRA_OEMAKE = "'CC=${CC}'"
EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS}'"
SRCREV = "468fe4c31e6c62c9bbb328b06ba71eaf7be0b76a"