[project @ 1998-04-17 11:03:17 by sof]
authorsof <unknown>
Fri, 17 Apr 1998 11:03:17 +0000 (11:03 +0000)
committersof <unknown>
Fri, 17 Apr 1998 11:03:17 +0000 (11:03 +0000)
Turn off GhcLibWays when booting from .hc files

mk/config.mk.in

index d0e0ce1..c9b1d6c 100644 (file)
@@ -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