summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/compiler/main/DriverPipeline.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ghc/compiler/main/DriverPipeline.hs b/ghc/compiler/main/DriverPipeline.hs
index 944802e74b..c2d4235186 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 []))