X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=1e39b6f88ded5d4eb94e6ffdb1af29d0a19d6e75;hb=85b74fd854bdeb89f71d7dcee571a39960cbccdd;hp=f46cf959ce7081001ff431b6a7a51a482611a1ed;hpb=5e9fd7ed27f970084b4795c5c4619c30a953174f;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index f46cf95..1e39b6f 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -110,11 +110,6 @@ ifeq "$(way)" "mp" SRC_HC_OPTS += -I$$PVM_ROOT/include endif -ifeq "$(BootingFromHc)" "YES" -# use the normal $(CC) when booting from .hc files -SRC_CC_OPTS += $(HC_OPTS) -endif - # Currently, you only get 'threads support' in the normal # way. ifeq "$(GhcRtsThreaded)" "YES" @@ -218,16 +213,9 @@ endif ifneq "$(HaveLibGmp)" "YES" ifneq "$(HaveFrameworkHaskellSupport)" "YES" -ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" boot :: - cd gmp && ./configure --enable-shared=no \ + cd gmp && CC=$(WhatGccIsCalled) ./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 && 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.