summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/python/python3_%.bbappend5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-devtools/python/python3_%.bbappend b/recipes-devtools/python/python3_%.bbappend
index 08c783b..ec569b8 100644
--- a/recipes-devtools/python/python3_%.bbappend
+++ b/recipes-devtools/python/python3_%.bbappend
@@ -4,8 +4,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
4# used to build python 4# used to build python
5RDEPENDS:${PN}-ptest:append:toolchain-clang = " clang" 5RDEPENDS:${PN}-ptest:append:toolchain-clang = " clang"
6 6
7do_configure:prepend:class-target:toolchain-clang() { 7do_configure:prepend:toolchain-clang() {
8 # We do not need --print-multiarch with clang since it prints wrong value 8 # --print-multiarch with clang prints wrong value as this is gcc specific option anyway to omit it
9 # OE does not depend upon this option anyway
9 sed -i -e 's#\[MULTIARCH=$($CC --print-multiarch 2>/dev/null)\]#\[MULTIARCH=""\]#g' ${S}/configure.ac 10 sed -i -e 's#\[MULTIARCH=$($CC --print-multiarch 2>/dev/null)\]#\[MULTIARCH=""\]#g' ${S}/configure.ac
10} 11}
11 12