[project @ 1998-03-05 14:01:04 by sof]
authorsof <unknown>
Thu, 5 Mar 1998 14:01:04 +0000 (14:01 +0000)
committersof <unknown>
Thu, 5 Mar 1998 14:01:04 +0000 (14:01 +0000)
Don't split object files when booting from .hc

mk/config.mk.in

index ea87bad..bdc4fae 100644 (file)
@@ -249,7 +249,12 @@ else
 ifeq "$(strip $(way))" "mr"
 GhcLibHcOpts= -O
 else
+ifeq "$(GhcWithHscBuiltViaC)" "NO"
 GhcLibHcOpts= -O -split-objs -odir $*
+else
+#NB: .hc files need to distributed in *unsplit* form.
+GhcLibHcOpts= -O
+endif
 endif
 endif