[project @ 2000-07-06 15:24:57 by simonmar]
authorsimonmar <unknown>
Thu, 6 Jul 2000 15:24:57 +0000 (15:24 +0000)
committersimonmar <unknown>
Thu, 6 Jul 2000 15:24:57 +0000 (15:24 +0000)
no need to set hsc_lang = HscC when -split-objs is on.

ghc/driver/Main.hs

index 883c092..78bd862 100644 (file)
@@ -1767,7 +1767,6 @@ opts =
 
   ,  ( "split-objs"    , NoArg (if can_split
                                    then do writeIORef split_object_files True
-                                           writeIORef hsc_lang HscC
                                            add opt_C "-fglobalise-toplev-names"
                                            add opt_c "-DUSE_SPLIT_MARKERS"
                                    else hPutStrLn stderr