From 146b9bc8413435deccbfa944b099187737d3ff8e Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 15 Dec 2020 21:39:53 +0100 Subject: [PATCH] python3: expand hack for ppcle-musl --- .../patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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