churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 00180-python-add-support-for-ppc64p7.patch

4ff2113
diff --git a/config.sub b/config.sub
4ff2113
index 40ea5df..932128b 100755
4ff2113
--- a/config.sub
4ff2113
+++ b/config.sub
4ff2113
@@ -1045,7 +1045,7 @@ case $basic_machine in
69d4e5d
 		;;
69d4e5d
 	ppc64)	basic_machine=powerpc64-unknown
69d4e5d
 		;;
69d4e5d
-	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
69d4e5d
+	ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
69d4e5d
 		;;
4ff2113
 	ppc64le | powerpc64little)
69d4e5d
 		basic_machine=powerpc64le-unknown