about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-17 17:38:22 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-17 17:38:22 -0400
commitf162c064ab71dc3631abd8db9e53099a1c80b9cf (patch)
treea49c635e1ec141967bfa1a0f57641df3f572a624
parent797f9a32a444fc1d4a7189a65d340c1e6588b0db (diff)
downloadmusl-f162c064ab71dc3631abd8db9e53099a1c80b9cf.tar.gz
musl-f162c064ab71dc3631abd8db9e53099a1c80b9cf.tar.xz
musl-f162c064ab71dc3631abd8db9e53099a1c80b9cf.zip
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.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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 ;;