From f1dc7dc1c043e18631689571ef30e582dee2764a Mon Sep 17 00:00:00 2001 From: Thomas Batten Date: Mon, 21 Jan 2019 14:23:06 +1030 Subject: [PATCH] python3: tweak MULTIARCH for ppc-musl --- .../tweak-MULTIARCH-for-powerpc-linux-musl.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/python3/patches/tweak-MULTIARCH-for-powerpc-linux-musl.patch 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; }