summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-05-01 15:38:18 +0100
committerIan Lynagh <igloo@earth.li>2011-05-01 15:38:18 +0100
commit066b369de2c6f7da03c88206288dca29ab061b31 (patch)
tree924e125f62285d01a9d2a26a9ac2ce9dca85cf26 /compiler/ghc.cabal.in
parent8fc75d3c1dc613680f6fdf14b16cc1fad5bba3bb (diff)
downloadhaskell-066b369de2c6f7da03c88206288dca29ab061b31.tar.gz
Remove the OMIT_NATIVE_CODEGEN ifdef
We now test cGhcWithNativeCodeGen == "YES" instead.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 029dafee8e..18a06b03f8 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -36,11 +36,6 @@ Flag ghci
Default: False
Manual: True
-Flag ncg
- Description: Build the NCG.
- Default: False
- Manual: True
-
Flag stage1
Description: Is this stage 1?
Default: False
@@ -88,9 +83,6 @@ Library
CPP-Options: -DGHCI
Include-Dirs: ../libffi/build/include
- if !flag(ncg)
- CPP-Options: -DOMIT_NATIVE_CODEGEN
-
Build-Depends: bin-package-db
Build-Depends: hoopl
@@ -490,10 +482,7 @@ Library
Vectorise.Exp
Vectorise
- -- We only need to expose more modules as some of the ncg code is used
- -- by the LLVM backend so its always included
- if flag(ncg)
- Exposed-Modules:
+ Exposed-Modules:
AsmCodeGen
TargetReg
NCGMonad