Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
9066f934
Commit
9066f934
authored
Jan 08, 2002
by
sof
Browse files
[project @ 2002-01-08 14:55:50 by sof]
make -split-objs work again
parent
95bf7df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DriverPipeline.hs
View file @
9066f934
...
...
@@ -613,6 +613,8 @@ run_phase cc_phase basename suff input_fn output_fn
pkg_extra_cc_opts
<-
getPackageExtraCcOpts
split_objs
<-
readIORef
v_Split_object_files
let
split_opt
|
hcc
&&
split_objs
=
[
"-DUSE_SPLIT_MARKERS"
]
|
otherwise
=
[ ]
excessPrecision
<-
readIORef
v_Excess_precision
...
...
@@ -635,6 +637,7 @@ run_phase cc_phase basename suff input_fn output_fn
++
[
verb
,
"-S"
,
"-Wimplicit"
,
opt_flag
]
++
[
"-D__GLASGOW_HASKELL__="
++
cProjectVersionInt
]
++
cc_opts
++
split_opt
++
(
if
excessPrecision
then
[]
else
[
"-ffloat-store"
])
++
include_paths
++
pkg_extra_cc_opts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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