summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-12-05 16:29:07 +0000
committerIan Lynagh <ian@well-typed.com>2012-12-05 16:37:32 +0000
commit3fc453af215a236ebf8d9ecfbf6574035e6316e2 (patch)
treeb7203b47749ee31f3e23dc043b2a80190e43174c /compiler/ghc.cabal.in
parent95d8658acc946f9a043ef62976d0514c0f1f449e (diff)
downloadhaskell-3fc453af215a236ebf8d9ecfbf6574035e6316e2.tar.gz
Don't define DYNAMIC when compiling the dyn way
We want to compile the sources only once, and to produce both vanilla and dyn object files. This means that the sources can't differ for the two ways. This needed a bit of a kludge to get keepCAFsForGHCi included only in the dynamic library.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index a9dd62b3f6..3e7cd42c79 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -20,11 +20,6 @@ Category: Development
Build-Type: Simple
Cabal-Version: >= 1.2.3
-Flag dynlibs
- Description: Dynamic library support
- Default: False
- Manual: True
-
Flag ghci
Description: Build GHCi support.
Default: False
@@ -101,9 +96,8 @@ Library
c-sources:
parser/cutils.c
- if flag(dynlibs)
- c-sources:
- ghci/keepCAFsForGHCi.c
+ c-sources:
+ ghci/keepCAFsForGHCi.c
hs-source-dirs:
basicTypes