[project @ 2005-11-17 13:37:30 by simonmar]
authorsimonmar <unknown>
Thu, 17 Nov 2005 13:37:30 +0000 (13:37 +0000)
committersimonmar <unknown>
Thu, 17 Nov 2005 13:37:30 +0000 (13:37 +0000)
Use -optc-O2 when compiling the RTS

mk/config.mk.in

index 68fe833..5a66706 100644 (file)
@@ -372,7 +372,7 @@ endif
 
 # For an optimised RTS (you probably don't want to change these; we build
 # a debugging RTS by default now.  Use -debug to get it).
-GhcRtsHcOpts=-O2
+GhcRtsHcOpts=-optc-O2
 GhcRtsCcOpts=-fomit-frame-pointer
 
 # Include the front panel code?  Needs GTK+.