[project @ 2001-04-03 15:30:03 by dsyme]
authordsyme <unknown>
Tue, 3 Apr 2001 15:30:03 +0000 (15:30 +0000)
committerdsyme <unknown>
Tue, 3 Apr 2001 15:30:03 +0000 (15:30 +0000)
Fix by Reuben Thomas on Don's machine.  CC optsions passed to GHC now have -optc added at the point where we choose to use GHC as the CC compiler, i.e. at "CC=..." in ghc/rts/Makefile and ghc/compiler/Makefile.

mk/config.mk.in

index 84034a7..5b99e95 100644 (file)
@@ -262,7 +262,7 @@ StripLibraries=NO
 
 # For an optimised RTS:
 GhcRtsHcOpts=-O2
-GhcRtsCcOpts=-O2 -optc-fomit-frame-pointer
+GhcRtsCcOpts=-O2 -fomit-frame-pointer
 
 # Include the front panel code?  Needs GTK+.
 GhcRtsWithFrontPanel = NO