[project @ 2002-07-29 11:22:31 by simonmar]
authorsimonmar <unknown>
Mon, 29 Jul 2002 11:22:31 +0000 (11:22 +0000)
committersimonmar <unknown>
Mon, 29 Jul 2002 11:22:31 +0000 (11:22 +0000)
Back out previous commit; -static is on by default and we don't want
to always pass -static to the linker.

ghc/compiler/main/DriverPipeline.hs

index 944802e..c2d4235 100644 (file)
@@ -949,7 +949,6 @@ doLink o_files = do
 #endif
                      ++ pkg_extra_ld_opts
                      ++ extra_ld_opts
-                     ++ (if static then [ "-static" ] else [])
                      ++ if static && not no_hs_main then
                            [ "-u", prefixUnderscore "Main_zdmain_closure"] 
                         else []))