summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorniklas <niklas@mm.st>2014-07-17 21:39:40 +0200
committerAustin Seipp <austin@well-typed.com>2014-07-18 18:58:59 -0500
commitb34fa11ae06b6827eb643fbf3e6549559e90c681 (patch)
tree469ab1a04aa3da5213fd84490dca8e2b8852d3ef /aclocal.m4
parentaf28e61c7e84b8eb89fdfd9671af83a2a13f554a (diff)
downloadhaskell-b34fa11ae06b6827eb643fbf3e6549559e90c681.tar.gz
Set i686 as the minimum architecture on 32-bit mingw
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 782cae5144..42f760c2ed 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -526,6 +526,9 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
esac
case $$1 in
+ i386-unknown-mingw32)
+ $2="$$2 -march=i686"
+ ;;
i386-apple-darwin)
$2="$$2 -m32"
$3="$$3 -m32"