2020-06-09 09:36:59 +00:00
|
|
|
From aed3fc5009885af9ad3d3eef80b04396929d5072 Mon Sep 17 00:00:00 2001
|
2019-05-07 15:13:12 +00:00
|
|
|
From: Petr Viktorin <pviktori@redhat.com>
|
|
|
|
Date: Mon, 28 Aug 2017 17:16:46 +0200
|
2019-07-29 22:48:16 +00:00
|
|
|
Subject: [PATCH] 00274: Upstream uses Debian-style architecture naming, change
|
|
|
|
to match Fedora
|
2019-05-07 15:13:12 +00:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2019-02-14 16:37:18 +00:00
|
|
|
|
2019-05-07 15:13:12 +00:00
|
|
|
Co-authored-by: Petr Viktorin <pviktori@redhat.com>
|
|
|
|
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
Co-authored-by: Tomas Orsava <torsava@redhat.com>
|
2019-02-14 16:37:18 +00:00
|
|
|
---
|
|
|
|
config.sub | 2 +-
|
|
|
|
configure.ac | 16 ++++++++--------
|
|
|
|
2 files changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
|
2018-05-10 12:47:13 +00:00
|
|
|
diff --git a/config.sub b/config.sub
|
2019-05-07 15:13:12 +00:00
|
|
|
index ba37cf99e2..52a9ec6662 100755
|
2018-05-10 12:47:13 +00:00
|
|
|
--- a/config.sub
|
|
|
|
+++ b/config.sub
|
2019-05-07 15:13:12 +00:00
|
|
|
@@ -1042,7 +1042,7 @@ case $basic_machine in
|
2018-05-10 12:47:13 +00:00
|
|
|
;;
|
|
|
|
ppc64) basic_machine=powerpc64-unknown
|
|
|
|
;;
|
|
|
|
- ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
|
|
+ ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
|
|
;;
|
|
|
|
ppc64le | powerpc64little)
|
|
|
|
basic_machine=powerpc64le-unknown
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
2020-06-09 09:36:59 +00:00
|
|
|
index 2d63198c7b..5e09887a78 100644
|
2018-05-10 12:47:13 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2020-02-27 12:12:49 +00:00
|
|
|
@@ -759,9 +759,9 @@ cat >> conftest.c <<EOF
|
2017-08-28 15:16:46 +00:00
|
|
|
alpha-linux-gnu
|
|
|
|
# elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
|
|
|
|
# if defined(__ARMEL__)
|
|
|
|
- arm-linux-gnueabihf
|
|
|
|
+ arm-linux-gnueabi
|
|
|
|
# else
|
|
|
|
- armeb-linux-gnueabihf
|
|
|
|
+ armeb-linux-gnueabi
|
|
|
|
# endif
|
|
|
|
# elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
|
|
|
|
# if defined(__ARMEL__)
|
2020-02-27 12:12:49 +00:00
|
|
|
@@ -801,7 +801,7 @@ cat >> conftest.c <<EOF
|
2017-08-28 15:16:46 +00:00
|
|
|
# elif _MIPS_SIM == _ABIN32
|
|
|
|
mips64el-linux-gnuabin32
|
|
|
|
# elif _MIPS_SIM == _ABI64
|
|
|
|
- mips64el-linux-gnuabi64
|
|
|
|
+ mips64el-linux-gnu
|
|
|
|
# else
|
|
|
|
# error unknown platform triplet
|
|
|
|
# endif
|
2020-02-27 12:12:49 +00:00
|
|
|
@@ -811,22 +811,22 @@ cat >> conftest.c <<EOF
|
2017-08-28 15:16:46 +00:00
|
|
|
# elif _MIPS_SIM == _ABIN32
|
|
|
|
mips64-linux-gnuabin32
|
|
|
|
# elif _MIPS_SIM == _ABI64
|
|
|
|
- mips64-linux-gnuabi64
|
|
|
|
+ mips64-linux-gnu
|
|
|
|
# else
|
|
|
|
# error unknown platform triplet
|
|
|
|
# endif
|
2019-02-14 16:37:18 +00:00
|
|
|
# elif defined(__or1k__)
|
|
|
|
or1k-linux-gnu
|
|
|
|
# elif defined(__powerpc__) && defined(__SPE__)
|
|
|
|
- powerpc-linux-gnuspe
|
|
|
|
+ ppc-linux-gnuspe
|
2017-08-28 15:16:46 +00:00
|
|
|
# elif defined(__powerpc64__)
|
|
|
|
# if defined(__LITTLE_ENDIAN__)
|
|
|
|
- powerpc64le-linux-gnu
|
|
|
|
+ ppc64le-linux-gnu
|
|
|
|
# else
|
|
|
|
- powerpc64-linux-gnu
|
|
|
|
+ ppc64-linux-gnu
|
|
|
|
# endif
|
|
|
|
# elif defined(__powerpc__)
|
2019-02-14 16:37:18 +00:00
|
|
|
- powerpc-linux-gnu
|
|
|
|
+ ppc-linux-gnu
|
|
|
|
# elif defined(__s390x__)
|
|
|
|
s390x-linux-gnu
|
|
|
|
# elif defined(__s390__)
|
|
|
|
--
|
2020-04-28 23:42:28 +00:00
|
|
|
2.26.2
|
2019-02-14 16:37:18 +00:00
|
|
|
|