void-packages/srcpkgs/python3/patches/ppcle.patch

39 lines
892 B
Diff

From 2c26cbb9292c5b06febe9b4a135e140ece4a7e46 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Thu, 17 Dec 2020 01:41:54 +0100
Subject: [PATCH] add powerpcle triple
---
configure | 4 ++++
configure.ac | 4 ++++
2 files changed, 8 insertions(+)
--- a/configure
+++ b/configure
@@ -6113,7 +6113,11 @@
powerpc64-linux-gnu
# endif
# elif defined(__powerpc__)
+# if defined(__LITTLE_ENDIAN__)
+ powerpcle-linux-gnu
+# else
powerpc-linux-gnu
+# endif
# elif defined(__s390x__)
s390x-linux-gnu
# elif defined(__s390__)
--- a/configure.ac
+++ b/configure.ac
@@ -1011,7 +1011,11 @@
powerpc64-linux-gnu
# endif
# elif defined(__powerpc__)
+# if defined(__LITTLE_ENDIAN__)
+ powerpcle-linux-gnu
+# else
powerpc-linux-gnu
+# endif
# elif defined(__s390x__)
s390x-linux-gnu
# elif defined(__s390__)