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

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