churchyard / rpms / python3

Forked from rpms/python3 4 years ago
Clone

Blame 00274-fix-arch-names.patch

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