summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-01-19 18:39:54 -0500
committerRich Felker <dalias@aerifal.cx>2019-01-19 18:39:54 -0500
commitaba17aa3599c06af39ca7a89188070f4184945c5 (patch)
tree1acd90944a0dd21c088683b2fd62119069271713 /configure
parent16a522bab047f3014f08302042ab90cf5812b131 (diff)
downloadmusl-aba17aa3599c06af39ca7a89188070f4184945c5.tar.gz
configure: accept ppc[64] as alias for powerpc[64] in gcc tuples
apparently some distros use this form, and it seems to be supported in the gcc build system.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 997e6652..6310e0b9 100755
--- a/configure
+++ b/configure
@@ -320,8 +320,8 @@ mips64*|mipsisa64*) ARCH=mips64 ;;
mips*) ARCH=mips ;;
microblaze*) ARCH=microblaze ;;
or1k*) ARCH=or1k ;;
-powerpc64*) ARCH=powerpc64 ;;
-powerpc*) ARCH=powerpc ;;
+powerpc64*|ppc64*) ARCH=powerpc64 ;;
+powerpc*|ppc*) ARCH=powerpc ;;
sh[1-9bel-]*|sh|superh*) ARCH=sh ;;
s390x*) ARCH=s390x ;;
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;