Commit 41185b565fe17a8f107642f480849ef369ad0baa

Matija Skala 2017-03-15T12:50:41

detect other x32 hosts primarily x86_64-pc-linux-muslx32 while at it, add x86_64-x32-pc-linux-{gnu,musl} as well

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure.host b/configure.host
index a4a22b7..e366c74 100644
--- a/configure.host
+++ b/configure.host
@@ -96,7 +96,7 @@ case "${host}" in
 	TARGETDIR=x86
 	if test $ac_cv_sizeof_size_t = 4; then
 	  case "$host" in
-	    *-gnux32)
+	    x86_64-*x32|x86_64-x32-*)
 	      TARGET=X86_64
 	      ;;
 	    *)