From 973810c84a79fae3667a90586b32f7f583cf632a Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 17 Apr 1998 11:03:17 +0000 Subject: [PATCH 1/1] [project @ 1998-04-17 11:03:17 by sof] Turn off GhcLibWays when booting from .hc files --- mk/config.mk.in | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4