From 813ab8ac65cd916ed012da95080b3ab6658e014f Mon Sep 17 00:00:00 2001 From: rrt Date: Wed, 4 Apr 2001 14:31:30 +0000 Subject: [PATCH] [project @ 2001-04-04 14:31:30 by rrt] Only pass --target to gmp's configure under mingwin. --- ghc/rts/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index f5d1f75..317fa8f 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.45 2001/04/03 15:57:30 dsyme Exp $ +# $Id: Makefile,v 1.46 2001/04/04 14:31:30 rrt Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -151,8 +151,13 @@ endif # and not worth re-implementing in our Makefile framework. ifneq "$(HaveLibGmp)" "YES" +ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" +boot :: + cd gmp && ./configure --enable-shared=no +else boot :: cd gmp && ./configure --enable-shared=no --target=$(HOSTPLATFORM) +endif # Slight cheatage here to past host as target, but x-compilation isn't supported by ghc. -- 1.7.10.4