[commit: ghc] master: Enable LLVM-based code generation for FreeBSD/amd64. (0d90cbc)
git at git.haskell.org
git at git.haskell.org
Sat Jan 18 11:02:37 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0d90cbc988af31ff8ea35120203bd9d252d8055e/ghc
>---------------------------------------------------------------
commit 0d90cbc988af31ff8ea35120203bd9d252d8055e
Author: Gabor Pali <pali.gabor at gmail.com>
Date: Fri Jan 17 20:13:02 2014 +0100
Enable LLVM-based code generation for FreeBSD/amd64.
>---------------------------------------------------------------
0d90cbc988af31ff8ea35120203bd9d252d8055e
compiler/main/DynFlags.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 36f453f..2d0165b 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3647,7 +3647,7 @@ makeDynFlagsConsistent dflags
warn = "No native code generator, so using LLVM"
in loop dflags' warn
| hscTarget dflags == HscLlvm &&
- not ((arch == ArchX86_64) && (os == OSLinux || os == OSDarwin)) &&
+ not ((arch == ArchX86_64) && (os == OSLinux || os == OSDarwin || os == OSFreeBSD)) &&
not ((isARM arch) && (os == OSLinux)) &&
(not (gopt Opt_Static dflags) || gopt Opt_PIC dflags)
= if cGhcWithNativeCodeGen == "YES"
More information about the ghc-commits
mailing list