musl: add ppcle subarch to get correct dynamic linker name

This commit is contained in:
q66 2020-12-15 20:49:12 +01:00
parent b1d4c6ebe8
commit 62bab544cb

View file

@ -0,0 +1,24 @@
From 20dfc2002482a21b955b710af119a01aecee784b Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Tue, 15 Dec 2020 20:42:17 +0100
Subject: [PATCH] add ppc32 le subarch
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git configure configure
index 8680128..f1ca58e 100755
--- configure
+++ configure
@@ -645,6 +645,7 @@ fi
if test "$ARCH" = "powerpc" ; then
trycppif "__NO_FPRS__ && !_SOFT_FLOAT" "$t" && fail \
"$0: error: compiler's floating point configuration is unsupported"
+trycppif __LITTLE_ENDIAN__ "$t" && SUBARCH=${SUBARCH}le
trycppif _SOFT_FLOAT "$t" && SUBARCH=${SUBARCH}-sf
fi
--
2.29.2