Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions recipes-devtools/python/python3_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
# used to build python
RDEPENDS:${PN}-ptest:append:toolchain-clang = " clang"

do_configure:prepend:class-target:toolchain-clang() {
# We do not need --print-multiarch with clang since it prints wrong value
do_configure:prepend:toolchain-clang() {
# --print-multiarch with clang prints wrong value as this is gcc specific option anyway to omit it
# OE does not depend upon this option anyway
sed -i -e 's#\[MULTIARCH=$($CC --print-multiarch 2>/dev/null)\]#\[MULTIARCH=""\]#g' ${S}/configure.ac
}