From: Rich Felker Date: Mon, 17 Mar 2014 21:38:22 +0000 (-0400) Subject: make configure accept alternate gcc tuples for x32 X-Git-Tag: v1.0.0~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f162c064ab71dc3631abd8db9e53099a1c80b9cf;p=oweals%2Fmusl.git make configure accept alternate gcc tuples for x32 the previous pattern required "x32" to be used as the second field of the gcc tuple, which is usually reserved for vendor use and not appropriate as an ABI specifier. with this change, putting "x32" at the end of the tuple, the way ABI specifiers are normally done, is also permitted. --- diff --git a/configure b/configure index 89e19909..3c01bf4d 100755 --- a/configure +++ b/configure @@ -226,7 +226,7 @@ case "$target" in mips64*|powerpc64*) fail "$0: unsupported target \"$target\"" ;; arm*) ARCH=arm ;; i?86*) ARCH=i386 ;; -x86_64-x32*|x32*) ARCH=x32 ;; +x86_64-x32*|x32*|x86_64*x32) ARCH=x32 ;; x86_64*) ARCH=x86_64 ;; mips*) ARCH=mips ;; microblaze*) ARCH=microblaze ;;