Browse Source

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.
Rich Felker 11 years ago
parent
commit
f162c064ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure

+ 1 - 1
configure

@@ -226,7 +226,7 @@ case "$target" in
 mips64*|powerpc64*) fail "$0: unsupported target \"$target\"" ;;
 mips64*|powerpc64*) fail "$0: unsupported target \"$target\"" ;;
 arm*) ARCH=arm ;;
 arm*) ARCH=arm ;;
 i?86*) ARCH=i386 ;;
 i?86*) ARCH=i386 ;;
-x86_64-x32*|x32*) ARCH=x32 ;;
+x86_64-x32*|x32*|x86_64*x32) ARCH=x32 ;;
 x86_64*) ARCH=x86_64 ;;
 x86_64*) ARCH=x86_64 ;;
 mips*) ARCH=mips ;;
 mips*) ARCH=mips ;;
 microblaze*) ARCH=microblaze ;;
 microblaze*) ARCH=microblaze ;;