From: rrt Date: Wed, 4 Apr 2001 14:31:30 +0000 (+0000) Subject: [project @ 2001-04-04 14:31:30 by rrt] X-Git-Tag: Approximately_9120_patches~2202 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=813ab8ac65cd916ed012da95080b3ab6658e014f;p=ghc-hetmet.git [project @ 2001-04-04 14:31:30 by rrt] Only pass --target to gmp's configure under mingwin. --- 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.