From 94f8d8aefd7779d8b9ebb36b6bf46bf93bbfd98f Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 29 Jul 2002 11:22:31 +0000 Subject: [PATCH] [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. --- ghc/compiler/main/DriverPipeline.hs | 1 - 1 file changed, 1 deletion(-) 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 [])) -- 1.7.10.4