[project @ 1998-03-05 14:01:04 by sof]
[ghc-hetmet.git] / 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