projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
020bb30
)
Windows DLLs: stifle more warnings about auto imported symbols
author
Ben.Lippmeier@anu.edu.au
<unknown>
Wed, 18 Nov 2009 09:01:05 +0000
(09:01 +0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Wed, 18 Nov 2009 09:01:05 +0000
(09:01 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
ed3fc54
..
9ed55d7
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-1608,6
+1608,11
@@
linkDynLib dflags o_files dep_packages = do
++ map (SysTools.FileOption "") o_files
++ map SysTools.Option (
md_c_flags
++ map (SysTools.FileOption "") o_files
++ map SysTools.Option (
md_c_flags
+
+ -- Permit the linker to auto link _symbol to _imp_symbol
+ -- This lets us link against DLLs without needing an "import library"
+ ++ ["-Wl,--enable-auto-import"]
+
++ extra_ld_inputs
++ lib_path_opts
++ extra_ld_opts
++ extra_ld_inputs
++ lib_path_opts
++ extra_ld_opts