Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
7f24ae51
Commit
7f24ae51
authored
Mar 18, 2006
by
David Himmelstrup
Browse files
Don't generate stub files when -fno-code is given.
parent
206710ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/CodeOutput.lhs
View file @
7f24ae51
...
...
@@ -61,11 +61,7 @@ codeOutput :: DynFlags
-> IO (Bool{-stub_h_exists-}, Bool{-stub_c_exists-})
codeOutput dflags this_mod location foreign_stubs pkg_deps flat_abstractC
| HscNothing <- hscTarget dflags
-- We aren't interested in any code when HscNothing is our target.
= return (False, False)
| otherwise
=
=
-- You can have C (c_output) or assembly-language (ncg_output),
-- but not both. [Allowing for both gives a space leak on
-- flat_abstractC. WDP 94/10]
...
...
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