X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=27eeb213e1cab4c929c9f902d6e4789db594fad6;hb=8146101659e5c24adee02c0a732b5096405f717d;hp=7d880db89d063ed0f0027c96f1cea06c9e7a0dc6;hpb=cd54333228d5acd5b34afc0cf51a5b550074e305;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 7d880db..27eeb21 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.49 2001/05/22 15:58:57 simonmar Exp $ +# $Id: Makefile,v 1.51 2001/07/03 16:57:03 sewardj Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -155,8 +155,10 @@ boot :: cd gmp && ./configure --enable-shared=no \ --host=`echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'` else +# Pass --target to configure of GMP, so that building for mingwin under +# cygwin works properly (when the host is not the same as the target) boot :: - cd gmp && ./configure --enable-shared=no --target=$(HOSTPLATFORM) + cd gmp && CC=$(WhatGccIsCalled) ./configure --enable-shared=no --target=$(HOSTPLATFORM) endif # Slight cheatage here to pass host as target, but x-compilation isn't supported by ghc.