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:
62acd01
)
[project @ 2000-07-13 08:56:42 by sewardj]
author
sewardj
<unknown>
Thu, 13 Jul 2000 08:56:42 +0000
(08:56 +0000)
committer
sewardj
<unknown>
Thu, 13 Jul 2000 08:56:42 +0000
(08:56 +0000)
sparc NCG is now enabled by default for non-opt compilation.
ghc/driver/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/driver/Main.hs
b/ghc/driver/Main.hs
index
03fecec
..
ac1e36c
100644
(file)
--- a/
ghc/driver/Main.hs
+++ b/
ghc/driver/Main.hs
@@
-262,7
+262,8
@@
data HscLang
| HscJava
GLOBAL_VAR(hsc_lang, if cGhcWithNativeCodeGen == "YES" &&
- prefixMatch "i386" cTARGETPLATFORM
+ (prefixMatch "i386" cTARGETPLATFORM ||
+ prefixMatch "sparc" cTARGETPLATFORM)
then HscAsm
else HscC,
HscLang)