From: sof Date: Tue, 14 Mar 2000 01:30:21 +0000 (+0000) Subject: [project @ 2000-03-14 01:30:21 by sof] X-Git-Tag: Approximately_9120_patches~4998 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b222b0e833b8983767d19ea152d370c4b973bc3b;p=ghc-hetmet.git [project @ 2000-03-14 01:30:21 by sof] When booting, pass in --target to gmp/ --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 59d516a..35322ae 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.17 2000/01/13 14:34:03 hwloidl Exp $ +# $Id: Makefile,v 1.18 2000/03/14 01:30:21 sof Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -126,7 +126,9 @@ endif ifneq "$(HaveLibGmp)" "YES" boot :: - cd gmp && ./configure + if [ ! -f gmp/configure ] ; then ( cd gmp && echo ${SED} && autoconf SED= ); fi; + 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