diff options
Diffstat (limited to 'recipes-devtools/python')
-rw-r--r-- | recipes-devtools/python/python3_%.bbappend | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3_%.bbappend b/recipes-devtools/python/python3_%.bbappend index a4d8b49..08c783b 100644 --- a/recipes-devtools/python/python3_%.bbappend +++ b/recipes-devtools/python/python3_%.bbappend | |||
@@ -1,5 +1,9 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | # tests need compiler on target and they need the compiler which was | ||
4 | # used to build python | ||
5 | RDEPENDS:${PN}-ptest:append:toolchain-clang = " clang" | ||
6 | |||
3 | do_configure:prepend:class-target:toolchain-clang() { | 7 | do_configure:prepend:class-target:toolchain-clang() { |
4 | # We do not need --print-multiarch with clang since it prints wrong value | 8 | # We do not need --print-multiarch with clang since it prints wrong value |
5 | sed -i -e 's#\[MULTIARCH=$($CC --print-multiarch 2>/dev/null)\]#\[MULTIARCH=""\]#g' ${S}/configure.ac | 9 | sed -i -e 's#\[MULTIARCH=$($CC --print-multiarch 2>/dev/null)\]#\[MULTIARCH=""\]#g' ${S}/configure.ac |