Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
e1d82082
Commit
e1d82082
authored
Jul 17, 2001
by
rrt
Browse files
[project @ 2001-07-17 14:51:53 by rrt]
Make -u's and symbols into separate args
parent
544179c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/PackageSrc.hs
View file @
e1d82082
...
...
@@ -82,11 +82,13 @@ package_details installing
extra_cc_opts
=
[]
,
-- the RTS forward-references to a bunch of stuff in the prelude,
-- so we force it to be included with special options to ld.
extra_ld_opts
=
map
(
extra_ld_opts
=
foldr
(
\
x
xs
->
"-u"
:
x
:
xs
)
[]
(
map
(
#
ifndef
LEADING_UNDERSCORE
"
-u
"
""
#
else
"
-u
_"
"_"
#
endif
++
)
[
"PrelBase_Izh_static_info"
...
...
@@ -119,7 +121,7 @@ package_details installing
,
"PrelIOBase_BlockedOnDeadMVar_closure"
,
"PrelWeak_runFinalizzerBatch_closure"
,
"__init_Prelude"
]
]
)
},
Package
{
...
...
@@ -183,9 +185,9 @@ package_details installing
extra_cc_opts
=
[]
,
extra_ld_opts
=
[
#
ifndef
LEADING_UNDERSCORE
"-u
Addr_Azh_static_info"
"-u
"
,
"
Addr_Azh_static_info"
#
else
"-u
_Addr_Azh_static_info"
"-u
"
,
"
_Addr_Azh_static_info"
#
endif
]
},
...
...
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