From: simonmar Date: Mon, 29 Jul 2002 11:22:31 +0000 (+0000) Subject: [project @ 2002-07-29 11:22:31 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1794 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=94f8d8aefd7779d8b9ebb36b6bf46bf93bbfd98f;p=ghc-hetmet.git [project @ 2002-07-29 11:22:31 by simonmar] Back out previous commit; -static is on by default and we don't want to always pass -static to the linker. --- diff --git a/ghc/compiler/main/DriverPipeline.hs b/ghc/compiler/main/DriverPipeline.hs index 944802e..c2d4235 100644 --- a/ghc/compiler/main/DriverPipeline.hs +++ b/ghc/compiler/main/DriverPipeline.hs @@ -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 []))