From cb524d9e0991bad5762b31ade9907f037f6455c1 Mon Sep 17 00:00:00 2001
From: panne <unknown>
Date: Fri, 21 Apr 2000 15:48:38 +0000
Subject: [PATCH] [project @ 2000-04-21 15:48:38 by panne] Further steps
 towards an empty build.mk:    * GHC is now built with -O by default    *
 hslibs/tools now use GhcLibToolsHcOpts, again -O by default

---
 mk/config.mk.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 762aee8c3883..a20a3b1578b4 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -168,7 +168,7 @@ GhcCompilerWays=
 #
 #	-dcore-lint	check the types after every pass of the compiler;
 #			a pretty strong internal check
-GhcHcOpts=
+GhcHcOpts=-O
 
 # GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
 GhcWithHscBuiltViaC=@BootingFromHc@
@@ -262,7 +262,10 @@ GhcRtsCcOpts=-O2 -optc-fomit-frame-pointer
 HsLibsFor	= ghc
 
 # hslibs for GHC also uses the following variables (defined above):
-#   GhcLibWays, GhcLibHcOpts, EnableWin32DLLs, StripLibraries
+#   GhcLibWays, GhcLibHcOpts, GhcLibToolsHcOpts, EnableWin32DLLs, StripLibraries
+
+# Haskell compiler options for tools in hslibs
+GhcLibToolsHcOpts=-O
 
 # Build the Haskell Readline bindings?
 #
-- 
GitLab