projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cbd9a9
)
Put a space between gcc and its arguments when calling windres
author
Ian Lynagh
<igloo@earth.li>
Thu, 23 Aug 2007 02:19:14 +0000
(
02:19
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 23 Aug 2007 02:19:14 +0000
(
02:19
+0000)
compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/SysTools.lhs
b/compiler/main/SysTools.lhs
index
92b8825
..
fe660ec
100644
(file)
--- a/
compiler/main/SysTools.lhs
+++ b/
compiler/main/SysTools.lhs
@@
-529,7
+529,8
@@
runWindres dflags args = do
let (gcc,gcc_args) = pgm_c dflags
windres = pgm_windres dflags
runSomething dflags "Windres" windres
- (Option ("--preprocessor=" ++ gcc ++ unwords (map showOpt gcc_args) ++
+ (Option ("--preprocessor=" ++ gcc ++ " " ++
+ unwords (map showOpt gcc_args) ++
" -E -xc -DRC_INVOKED")
: args)
-- we must tell windres where to find gcc: it might not be on PATH