From fa29f53b109d4f51e90a61f106c0516b1235f3f9 Mon Sep 17 00:00:00 2001 From: rrt Date: Mon, 11 Sep 2000 15:02:51 +0000 Subject: [PATCH 1/1] [project @ 2000-09-11 15:02:51 by rrt] Pass --target to configure of GMP, so that building for mingwin under cygwin works properly. --- ghc/rts/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 3e86da9..265008d 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.36 2000/09/04 14:39:10 simonmar Exp $ +# $Id: Makefile,v 1.37 2000/09/11 15:02:51 rrt Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -129,10 +129,8 @@ endif ifneq "$(HaveLibGmp)" "YES" boot :: - cd gmp && ./configure --enable-shared=no + cd gmp && ./configure --enable-shared=no --target=$(HOSTPLATFORM) -# DON'T KNOW IF WE NEED SOMETHING LIKE THIS ANYMORE: --SDM -# cd gmp && ./configure --target=$(HOSTPLATFORM) # Slight cheatage here to past host as target, but x-compilation isn't supported by ghc. all :: gmp/libgmp.a -- 1.7.10.4