Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
2a463ebe
Commit
2a463ebe
authored
May 02, 2014
by
Yuras
Committed by
Krzysztof Gogolewski
Jun 05, 2014
Browse files
Fix compilation of cmm files with -outputdir (Trac
#9050
)
parent
46275750
Changes
3
Hide whitespace changes
Inline
Side-by-side
compiler/main/CodeOutput.lhs
View file @
2a463ebe
...
...
@@ -192,11 +192,8 @@ outputForeignStubs dflags mod location stubs
stub_c <- newTempName dflags "c"
case stubs of
NoStubs -> do
-- When compiling External Core files, may need to use stub
-- files from a previous compilation
stub_h_exists <- doesFileExist stub_h
return (stub_h_exists, Nothing)
NoStubs ->
return (False, Nothing)
ForeignStubs h_code c_code -> do
let
...
...
testsuite/tests/driver/T9050.cmm
0 → 100644
View file @
2a463ebe
// empty
testsuite/tests/driver/all.T
View file @
2a463ebe
...
...
@@ -395,3 +395,7 @@ test('T2507',
test
('
T703
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T703
'])
test
('
T8101
',
normal
,
compile
,
['
-Wall -fno-code
'])
def
build_T9050
(
name
,
way
):
return
simple_build
(
name
+
'
.cmm
',
way
,
'
-outputdir=.
',
0
,
'',
0
,
0
,
0
)
test
('
T9050
',
normal
,
build_T9050
,
[]
)
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