[commit: ghc] master: Set i686 as the minimum architecture on 32-bit mingw (b34fa11)
git at git.haskell.org
git at git.haskell.org
Fri Jul 18 23:59:21 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b34fa11ae06b6827eb643fbf3e6549559e90c681/ghc
>---------------------------------------------------------------
commit b34fa11ae06b6827eb643fbf3e6549559e90c681
Author: niklas <niklas at mm.st>
Date: Thu Jul 17 21:39:40 2014 +0200
Set i686 as the minimum architecture on 32-bit mingw
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
b34fa11ae06b6827eb643fbf3e6549559e90c681
aclocal.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/aclocal.m4 b/aclocal.m4
index 782cae5..42f760c 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"
More information about the ghc-commits
mailing list