Skip to contentSkip to conversation

libvirt-python: inherit python3targetconfig

PATCH In review Martin Jansa 2 participants 2 messages Feb 14, 2021 – Feb 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt-python: inherit python3targetconfig

* otherwise libvirt build will incorrectly use host's gcc and fail with:
gcc: error: unrecognized command line option "-fmacro-prefix-map=/OE/libvirt/6.1.0-r0=/usr/src/debug/libvirt/6.1.0-r0"

---
 recipes-extended/libvirt/libvirt-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt-python.inc +1 -1
index 7b87d5e..bcd7657 100644
@@ -1,4 +1,4 @@
-inherit python3native python3-dir
+inherit python3native python3-dir python3targetconfig
 
 export STAGING_INCDIR
 export STAGING_LIBDIR
Signature · 1 line
2.27.0
#1 lore raw

I was watching/waiting on this as well.

Cherry picked to gatesgarth and I noticed that Steve had queued the changes for dunfell as well. I'll checked later to see if they are in place.

Bruce

Quoted 27 lines · Martin Jansa

* otherwise libvirt build will incorrectly use host's gcc and fail with:
gcc: error: unrecognized command line option
"-fmacro-prefix-map=/OE/libvirt/6.1.0-r0=/usr/src/debug/libvirt/6.1.0-r0"

---
 recipes-extended/libvirt/libvirt-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt-python.inc +1 -2
index 7b87d5e..bcd7657 100644
@@ -1,4 +1,4 @@
-inherit python3native python3-dir
+inherit python3native python3-dir python3targetconfig
 
 export STAGING_INCDIR
 export STAGING_LIBDIR
--

2.27.0

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II