projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0908d2d
)
[project @ 2005-07-08 13:57:50 by simonmar]
author
simonmar
<unknown>
Fri, 8 Jul 2005 13:57:50 +0000
(13:57 +0000)
committer
simonmar
<unknown>
Fri, 8 Jul 2005 13:57:50 +0000
(13:57 +0000)
genOutputFilenameFunc: fix output filename generated for non-Haskell
compilations with -odir.
ghc/compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/DriverPipeline.hs
b/ghc/compiler/main/DriverPipeline.hs
index
ec70b8d
..
882b45c
100644
(file)
--- a/
ghc/compiler/main/DriverPipeline.hs
+++ b/
ghc/compiler/main/DriverPipeline.hs
@@
-511,7
+511,7
@@
getOutputFilename dflags stop_phase output basename
odir_persistent
| Just loc <- maybe_location = ml_obj_file loc
- | Just d <- odir = replaceFilenameDirectory persistent d
+ | Just d <- odir = d `joinFileName` persistent
| otherwise = persistent