diff --git a/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch b/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch index 86f051bab0..0240928cff 100644 --- a/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch +++ b/srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch @@ -1,12 +1,16 @@ --- configure +++ configure -@@ -5205,6 +5205,10 @@ +@@ -5205,6 +5205,14 @@ MULTIARCH=$($CC --print-multiarch 2>/dev/null) +if test x$MULTIARCH = xpowerpc-linux-musl +then + MULTIARCH="powerpc-linux-gnu" ++fi ++if test x$MULTIARCH = xpowerpcle-linux-musl ++then ++ MULTIARCH="powerpcle-linux-gnu" +fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5