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:
eb1309d
)
[project @ 2003-05-23 21:40:04 by wolfgang]
author
wolfgang
<unknown>
Fri, 23 May 2003 21:40:04 +0000
(21:40 +0000)
committer
wolfgang
<unknown>
Fri, 23 May 2003 21:40:04 +0000
(21:40 +0000)
Enable Native Code Generator for PowerPC by default.
MERGE TO STABLE
ghc/compiler/main/CmdLineOpts.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/CmdLineOpts.lhs
b/ghc/compiler/main/CmdLineOpts.lhs
index
84c9490
..
19f027d
100644
(file)
--- a/
ghc/compiler/main/CmdLineOpts.lhs
+++ b/
ghc/compiler/main/CmdLineOpts.lhs
@@
-340,7
+340,8
@@
data HscLang
defaultHscLang
| cGhcWithNativeCodeGen == "YES" &&
(prefixMatch "i386" cTARGETPLATFORM ||
- prefixMatch "sparc" cTARGETPLATFORM) = HscAsm
+ prefixMatch "sparc" cTARGETPLATFORM ||
+ prefixMatch "powerpc" cTARGETPLATFORM) = HscAsm
| otherwise = HscC
defaultDynFlags = DynFlags {