about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-02-19 00:10:23 -0500
committerRich Felker <dalias@aerifal.cx>2016-02-19 00:10:23 -0500
commit4c101e158a59eafb8adbfeabab13a8747e4a97cb (patch)
treed2881f4c33723aef74958f2931781b87d9b07d08
parent71c334f951d9ffa4d8bdc71bdd49628e5ae4512b (diff)
downloadmusl-4c101e158a59eafb8adbfeabab13a8747e4a97cb.tar.gz
musl-4c101e158a59eafb8adbfeabab13a8747e4a97cb.tar.xz
musl-4c101e158a59eafb8adbfeabab13a8747e4a97cb.zip
add arch tuple matching for nt32 and nt64 in configure
the nt32 and nt64 archs will be provided by the midipix project for
building musl on top of its posix-like syscall layer for windows. at
present the needed arch files are in a separate repository, but having
the tuple matching in the upstream configure script should make it
possible to overlay the arch files without needing any further
patching.
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 5a92ea01..0955ce68 100755
--- a/configure
+++ b/configure
@@ -302,8 +302,10 @@ case "$target" in
 mips64*|powerpc64*) fail "$0: unsupported target \"$target\"" ;;
 arm*) ARCH=arm ;;
 aarch64*) ARCH=aarch64 ;;
+i?86-nt32*) ARCH=nt32 ;;
 i?86*) ARCH=i386 ;;
 x86_64-x32*|x32*|x86_64*x32) ARCH=x32 ;;
+x86_64-nt64*) ARCH=nt64 ;;
 x86_64*) ARCH=x86_64 ;;
 mips*) ARCH=mips ;;
 microblaze*) ARCH=microblaze ;;