churchyard / rpms / python3

Forked from rpms/python3 2 years ago
Clone
0c391a
diff --git a/config.sub b/config.sub
0c391a
index ba37cf9..52a9ec6 100755
0c391a
--- a/config.sub
0c391a
+++ b/config.sub
0c391a
@@ -1042,7 +1042,7 @@ case $basic_machine in
0c391a
 		;;
0c391a
 	ppc64)	basic_machine=powerpc64-unknown
0c391a
 		;;
0c391a
-	ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
0c391a
+	ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
0c391a
 		;;
0c391a
 	ppc64le | powerpc64little)
0c391a
 		basic_machine=powerpc64le-unknown
0c391a
diff --git a/configure.ac b/configure.ac
0c391a
index 2535969..9fb3193 100644
0c391a
--- a/configure.ac
0c391a
+++ b/configure.ac
0c391a
@@ -765,9 +765,9 @@ cat >> conftest.c <
9423d3
         alpha-linux-gnu
9423d3
 # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
9423d3
 #  if defined(__ARMEL__)
9423d3
-        arm-linux-gnueabihf
9423d3
+        arm-linux-gnueabi
9423d3
 #  else
9423d3
-        armeb-linux-gnueabihf
9423d3
+        armeb-linux-gnueabi
9423d3
 #  endif
9423d3
 # elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
9423d3
 #  if defined(__ARMEL__)
0c391a
@@ -807,7 +807,7 @@ cat >> conftest.c <
9423d3
 #  elif _MIPS_SIM == _ABIN32
9423d3
         mips64el-linux-gnuabin32
9423d3
 #  elif _MIPS_SIM == _ABI64
9423d3
-        mips64el-linux-gnuabi64
9423d3
+        mips64el-linux-gnu
9423d3
 #  else
9423d3
 #   error unknown platform triplet
9423d3
 #  endif
0c391a
@@ -817,7 +817,7 @@ cat >> conftest.c <
9423d3
 #  elif _MIPS_SIM == _ABIN32
9423d3
         mips64-linux-gnuabin32
9423d3
 #  elif _MIPS_SIM == _ABI64
9423d3
-        mips64-linux-gnuabi64
9423d3
+        mips64-linux-gnu
9423d3
 #  else
9423d3
 #   error unknown platform triplet
9423d3
 #  endif
0c391a
@@ -827,9 +827,9 @@ cat >> conftest.c <
9423d3
         powerpc-linux-gnuspe
9423d3
 # elif defined(__powerpc64__)
9423d3
 #  if defined(__LITTLE_ENDIAN__)
9423d3
-        powerpc64le-linux-gnu
9423d3
+        ppc64le-linux-gnu
9423d3
 #  else
9423d3
-        powerpc64-linux-gnu
9423d3
+        ppc64-linux-gnu
9423d3
 #  endif
9423d3
 # elif defined(__powerpc__)
9423d3
         powerpc-linux-gnu