python3: add ppcle triple
This commit is contained in:
parent
52d14d8656
commit
950477aec6
1 changed files with 45 additions and 0 deletions
45
srcpkgs/python3/patches/ppcle.patch
Normal file
45
srcpkgs/python3/patches/ppcle.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
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(+)
|
||||
|
||||
diff --git configure configure
|
||||
index 2d379fe..97d1f9b 100755
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -5302,7 +5302,11 @@ cat >> conftest.c <<EOF
|
||||
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__)
|
||||
diff --git configure.ac configure.ac
|
||||
index c968d14..499ef7a 100644
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -826,7 +826,11 @@ cat >> conftest.c <<EOF
|
||||
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__)
|
||||
--
|
||||
2.29.2
|
||||
|
Loading…
Reference in a new issue