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:
9dd44fc
)
Reorder the CPP flags so -optP can override the platform defines
author
Ian Lynagh
<igloo@earth.li>
Thu, 8 Jul 2010 20:35:23 +0000
(20:35 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 8 Jul 2010 20:35:23 +0000
(20:35 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
ea6c933
..
9128538
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-1844,9
+1844,9
@@
doCpp dflags raw include_cc_opts input_fn output_fn = do
cpp_prog ([SysTools.Option verb]
++ map SysTools.Option include_paths
++ map SysTools.Option hsSourceCppOpts
+ ++ map SysTools.Option target_defs
++ map SysTools.Option hscpp_opts
++ map SysTools.Option cc_opts
- ++ map SysTools.Option target_defs
++ [ SysTools.Option "-x"
, SysTools.Option "c"
, SysTools.Option input_fn