From c22263dd8ecbd11f9067dc9fda00afe199a0331b Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Fri, 15 May 1998 15:08:32 +0000
Subject: [PATCH] [project @ 1998-05-15 15:08:32 by simonm] Profiling w/
 splitting appears to produce reasonably sizes libraries now: turn splitting
 back on by default.

---
 mk/config.mk.in | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 2a2982110487..6c41708003a9 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -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?
 #
-- 
GitLab