Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
753d4294
Commit
753d4294
authored
Jun 28, 2000
by
simonmar
Browse files
[project @ 2000-06-28 15:56:28 by simonmar]
add in the -optl arguments to the linker command line
parent
8b289e32
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/Main.hs
View file @
753d4294
...
...
@@ -1550,10 +1550,12 @@ do_link o_files unknown_srcs = do
-- probably _stub.o files
extra_ld_inputs
<-
readIORef
ld_inputs
-- opts from -optl-<blah>
extra_ld_opts
<-
getOpts
opt_l
run_something
"Linker"
(
unwords
([
ln
,
verb
,
"-o"
,
output_fn
]
-- ToDo: -u <blah> options
++
o_files
++
unknown_srcs
++
extra_ld_inputs
...
...
@@ -1562,6 +1564,7 @@ do_link o_files unknown_srcs = do
++
pkg_lib_path_opts
++
pkg_lib_opts
++
pkg_extra_ld_opts
++
extra_ld_opts
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment