[project @ 1998-05-15 15:08:32 by simonm]
authorsimonm <unknown>
Fri, 15 May 1998 15:08:32 +0000 (15:08 +0000)
committersimonm <unknown>
Fri, 15 May 1998 15:08:32 +0000 (15:08 +0000)
Profiling w/ splitting appears to produce reasonably sizes libraries
now: turn splitting back on by default.

mk/config.mk.in

index 2a29821..6c41708 100644 (file)
@@ -242,25 +242,11 @@ endif
 #      -O is pretty desirable, otherwise no inlining of prelude
 #              things (incl "+") happens when compiling with this compiler
 
-#
-# Splitting profiled code produces awfully large archives under ELF, so
-# we turn it off here.
-#
-# ToDo: track down the source of this.
-#
-ifeq "$(strip $(way))" "p"
-GhcLibHcOpts= -O
-else 
-ifeq "$(strip $(way))" "mr"
-GhcLibHcOpts= -O
-else
 ifeq "$(GhcWithHscBuiltViaC)" "YES"
 GhcLibHcOpts=-O
 else
 GhcLibHcOpts=-O -split-objs -odir $*
 endif
-endif
-endif
 
 # Build the Haskell Readline bindings?
 #