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 authored and Khem Raj committed 2026-03-20 14:13:05 -07:00
1 parent 347474c362
commit 0f254f6b0f
1 file changed
+1 -1
@@ -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"