Blame SOURCES/00274-fix-arch-names.patch

dd3773
From 3b0d3a25576e74c2ac1eb25136ae811bdbdd7c6c Mon Sep 17 00:00:00 2001
dd3773
From: Tomas Orsava <torsava@redhat.com>
dd3773
Date: Thu, 14 Feb 2019 16:08:57 +0100
dd3773
Subject: [PATCH] Upstream uses Debian-style architecture naming. Change to
dd3773
 match Fedora / RHEL
dd3773
dd3773
---
dd3773
 config.sub   |  2 +-
dd3773
 configure.ac | 16 ++++++++--------
dd3773
 2 files changed, 9 insertions(+), 9 deletions(-)
dd3773
dd3773
diff --git a/config.sub b/config.sub
dd3773
index 40ea5df..932128b 100755
dd3773
--- a/config.sub
dd3773
+++ b/config.sub
dd3773
@@ -1045,7 +1045,7 @@ case $basic_machine in
dd3773
 		;;
dd3773
 	ppc64)	basic_machine=powerpc64-unknown
dd3773
 		;;
dd3773
-	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
dd3773
+	ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
dd3773
 		;;
dd3773
 	ppc64le | powerpc64little)
dd3773
 		basic_machine=powerpc64le-unknown
dd3773
diff --git a/configure.ac b/configure.ac
dd3773
index a075ce3..b7f2ee3 100644
dd3773
--- a/configure.ac
dd3773
+++ b/configure.ac
dd3773
@@ -788,9 +788,9 @@ cat >> conftest.c <
dd3773
         alpha-linux-gnu
dd3773
 # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
dd3773
 #  if defined(__ARMEL__)
dd3773
-        arm-linux-gnueabihf
dd3773
+        arm-linux-gnueabi
dd3773
 #  else
dd3773
-        armeb-linux-gnueabihf
dd3773
+        armeb-linux-gnueabi
dd3773
 #  endif
dd3773
 # elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
dd3773
 #  if defined(__ARMEL__)
dd3773
@@ -810,7 +810,7 @@ cat >> conftest.c <
dd3773
 #  elif _MIPS_SIM == _ABIN32
dd3773
         mips64el-linux-gnuabin32
dd3773
 #  elif _MIPS_SIM == _ABI64
dd3773
-        mips64el-linux-gnuabi64
dd3773
+        mips64el-linux-gnu
dd3773
 #  else
dd3773
 #   error unknown platform triplet
dd3773
 #  endif
dd3773
@@ -820,22 +820,22 @@ cat >> conftest.c <
dd3773
 #  elif _MIPS_SIM == _ABIN32
dd3773
         mips64-linux-gnuabin32
dd3773
 #  elif _MIPS_SIM == _ABI64
dd3773
-        mips64-linux-gnuabi64
dd3773
+        mips64-linux-gnu
dd3773
 #  else
dd3773
 #   error unknown platform triplet
dd3773
 #  endif
dd3773
 # elif defined(__or1k__)
dd3773
         or1k-linux-gnu
dd3773
 # elif defined(__powerpc__) && defined(__SPE__)
dd3773
-        powerpc-linux-gnuspe
dd3773
+        ppc-linux-gnuspe
dd3773
 # elif defined(__powerpc64__)
dd3773
 #  if defined(__LITTLE_ENDIAN__)
dd3773
-        powerpc64le-linux-gnu
dd3773
+        ppc64le-linux-gnu
dd3773
 #  else
dd3773
-        powerpc64-linux-gnu
dd3773
+        ppc64-linux-gnu
dd3773
 #  endif
dd3773
 # elif defined(__powerpc__)
dd3773
-        powerpc-linux-gnu
dd3773
+        ppc-linux-gnu
dd3773
 # elif defined(__s390x__)
dd3773
         s390x-linux-gnu
dd3773
 # elif defined(__s390__)
dd3773
-- 
dd3773
2.20.1
dd3773