Skip to contentSkip to conversation

xtf: Supply DEBUG_PREFIX_MAP to the compiler flags

PATCH Applied Christopher Clark 2 participants 2 messages May 17, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtf: Supply DEBUG_PREFIX_MAP to the compiler flags

Fixes the QA warnings about package contains reference to TMPDIR.

---
 recipes-extended/xen/xtf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xtf_git.bb +1 -1
index 537abc3..59f1cad 100644
@@ -30,7 +30,7 @@ RDEPENDS:${PN} = " \
     "
 
 do_compile() {
-    oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \
+    oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP}" \
                CPP="${CPP}" \
                LD="${LD}" \
                OBJCOPY="${OBJCOPY}" \
Signature · 1 line
2.25.1
#1 lore raw

merged to master and mickledore.

Bruce

In message: [meta-virtualization][PATCH] xtf: Supply DEBUG_PREFIX_MAP to the compiler flags

Quoted 23 lines · on 16/05/2023 Christopher Clark wrote:

Fixes the QA warnings about package contains reference to TMPDIR.

---
 recipes-extended/xen/xtf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xtf_git.bb +1 -1
index 537abc3..59f1cad 100644
@@ -30,7 +30,7 @@ RDEPENDS:${PN} = " \
     "
 
 do_compile() {
-    oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \
+    oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP}" \
                CPP="${CPP}" \
                LD="${LD}" \
                OBJCOPY="${OBJCOPY}" \
Signature · 1 line
2.25.1