From: sof Date: Fri, 17 Apr 1998 11:03:17 +0000 (+0000) Subject: [project @ 1998-04-17 11:03:17 by sof] X-Git-Tag: Approx_2487_patches~781 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=973810c84a79fae3667a90586b32f7f583cf632a;p=ghc-hetmet.git [project @ 1998-04-17 11:03:17 by sof] Turn off GhcLibWays when booting from .hc files --- diff --git a/mk/config.mk.in b/mk/config.mk.in index d0e0ce1..c9b1d6c 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -228,7 +228,12 @@ BuildingProfilingConcurrent=$(subst mr,YES,$(filter mr,$(WAYS))) # What extra ways to build the libraries in # In addition to the normal sequential way, the default is to also build # profiled prelude libraries. +# When booting from .hc files, turn this off. +ifeq "$(GhcWithHscBuiltViaC)" "YES" +GhcLibWays +else GhcLibWays=p +endif # Option flags to pass to GHC when it's compiling prelude modules # Typically these are things like -O or -dcore-lint