From 5b042b342a3ff312500e0ce51858a807dedf738a Mon Sep 17 00:00:00 2001 From: sewardj <unknown> Date: Thu, 13 Jul 2000 08:56:42 +0000 Subject: [PATCH] [project @ 2000-07-13 08:56:42 by sewardj] sparc NCG is now enabled by default for non-opt compilation. --- ghc/driver/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/driver/Main.hs b/ghc/driver/Main.hs index 03fececccee8..ac1e36cb1cdf 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) -- GitLab