From: sewardj Date: Thu, 13 Jul 2000 08:56:42 +0000 (+0000) Subject: [project @ 2000-07-13 08:56:42 by sewardj] X-Git-Tag: Approximately_9120_patches~4024 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5b042b342a3ff312500e0ce51858a807dedf738a;p=ghc-hetmet.git [project @ 2000-07-13 08:56:42 by sewardj] sparc NCG is now enabled by default for non-opt compilation. --- diff --git a/ghc/driver/Main.hs b/ghc/driver/Main.hs index 03fecec..ac1e36c 100644 --- 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)