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

900f19
diff -up Python-3.5.0/configure.ac.than Python-3.5.0/configure.ac
900f19
--- Python-3.5.0/configure.ac.than	2015-11-13 11:51:32.039560172 -0500
900f19
+++ Python-3.5.0/configure.ac	2015-11-13 11:52:11.670168157 -0500
900f19
@@ -788,9 +788,9 @@ cat >> conftest.c <
900f19
         alpha-linux-gnu
900f19
 # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
900f19
 #  if defined(__ARMEL__)
900f19
-        arm-linux-gnueabihf
900f19
+        arm-linux-gnueabi
900f19
 #  else
900f19
-        armeb-linux-gnueabihf
900f19
+        armeb-linux-gnueabi
900f19
 #  endif
900f19
 # elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
900f19
 #  if defined(__ARMEL__)
900f19
@@ -810,7 +810,7 @@ cat >> conftest.c <
900f19
 #  elif _MIPS_SIM == _ABIN32
900f19
         mips64el-linux-gnuabin32
900f19
 #  elif _MIPS_SIM == _ABI64
900f19
-        mips64el-linux-gnuabi64
900f19
+        mips64el-linux-gnu
900f19
 #  else
900f19
 #   error unknown platform triplet
900f19
 #  endif
900f19
@@ -820,7 +820,7 @@ cat >> conftest.c <
900f19
 #  elif _MIPS_SIM == _ABIN32
900f19
         mips64-linux-gnuabin32
900f19
 #  elif _MIPS_SIM == _ABI64
900f19
-        mips64-linux-gnuabi64
900f19
+        mips64-linux-gnu
900f19
 #  else
900f19
 #   error unknown platform triplet
900f19
 #  endif
900f19
@@ -830,9 +830,9 @@ cat >> conftest.c <
900f19
         powerpc-linux-gnuspe
900f19
 # elif defined(__powerpc64__)
900f19
 #  if defined(__LITTLE_ENDIAN__)
900f19
-        powerpc64le-linux-gnu
900f19
+        ppc64le-linux-gnu
900f19
 #  else
900f19
-        powerpc64-linux-gnu
900f19
+        ppc64-linux-gnu
900f19
 #  endif
900f19
 # elif defined(__powerpc__)
900f19
         powerpc-linux-gnu
900f19
diff --git a/config.sub b/config.sub
900f19
index 40ea5df..932128b 100755
900f19
--- a/config.sub
900f19
+++ b/config.sub
900f19
@@ -1045,7 +1045,7 @@ case $basic_machine in
900f19
 		;;
900f19
 	ppc64)	basic_machine=powerpc64-unknown
900f19
 		;;
900f19
-	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
900f19
+	ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
900f19
 		;;
900f19
 	ppc64le | powerpc64little)
900f19
 		basic_machine=powerpc64le-unknown