diff mbox series

[meta-oe,1/2] mce-inject: Pass CFLAGS to make

Message ID 20230520074515.306156-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] mce-inject: Pass CFLAGS to make | expand

Commit Message

Khem Raj May 20, 2023, 7:45 a.m. UTC
This ensures right debug directory remapping options are passed to
compiler

Fixes
 WARNING: mce-inject-git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mce-inject in package mce-inject-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/mcelog/mce-inject_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/mcelog/mce-inject_git.bb b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
index d440a53d87..a228c3cc06 100644
--- a/meta-oe/recipes-support/mcelog/mce-inject_git.bb
+++ b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
@@ -21,4 +21,4 @@  COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
 
 inherit autotools-brokensep
 
-EXTRA_OEMAKE = "destdir=${D}"
+EXTRA_OEMAKE = "destdir=${D} CFLAGS='${CFLAGS}'"