diff --git a/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch b/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch new file mode 100644 index 00000000000..86f051bab0f --- /dev/null +++ b/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch @@ -0,0 +1,13 @@ +--- configure ++++ configure +@@ -5205,6 +5205,10 @@ + + MULTIARCH=$($CC --print-multiarch 2>/dev/null) + ++if test x$MULTIARCH = xpowerpc-linux-musl ++then ++ MULTIARCH="powerpc-linux-gnu" ++fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5 + $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }