X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=1f5576f69beaf03b7672b1272d5793e78ca2562c;hb=30b24ded6ed997a892bb62cbf1479ef047fbac01;hp=822cd2f673ab837ed66f24c5f5c116384d80c394;hpb=d65574ab3852a0d5b66358f71ae1e34dfcc606c9;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 822cd2f..1f5576f 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -298,8 +298,8 @@ HsLibsFor = ghc # hslibs for GHC also uses the following variables (defined above): # GhcLibWays, GhcLibHcOpts, GhcLibToolsHcOpts, DLLized, StripLibraries -# Haskell compiler options for tools in hslibs -GhcLibToolsHcOpts=-O +# Haskell compiler options for tools in fptools +FptoolsHcOpts=-O # Build the Haskell Readline bindings? # @@ -606,7 +606,10 @@ GHC_INPLACE = $(FPTOOLS_TOP)/ghc/compiler/ghc-inplace #----------------------------------------------------------------------------- # C compiler # -# +# NB. Don't override $(WhatGccIsCalled) using build.mk, re-configure using +# the flag --with-gcc= instead. The reason is that the configure script +# needs to know which gcc you're using in order to perform its tests. + HaveGcc = @HaveGcc@ UseGcc = YES WhatGccIsCalled = @WhatGccIsCalled@