diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-15 23:41:21 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-15 23:45:13 +0000 |
commit | cdf16555ef5e2670a01bb5fa1462e7177b921fe0 (patch) | |
tree | c9a6cd9ce9a84c2734f8d4f08d383e8e4a1a0163 /ghc/ghc.mk | |
parent | 3c839acd302115e5e43668f348b64784cd76413f (diff) | |
download | haskell-cdf16555ef5e2670a01bb5fa1462e7177b921fe0.tar.gz |
Build system tweak: Do the package checks at configure time
This removes the '.PHONY' rule, so means that "make" in a built tree
won't repeat the check.
We also now check the .cabal files for the executables as well as the
libraries.
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r-- | ghc/ghc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk index 6df1a50746..71356fccf0 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -31,6 +31,11 @@ ifeq "$(compiler_stage1_VERSION_MUNGED)" "YES" ghc_stage1_CONFIGURE_OPTS += --constraint "ghc == $(compiler_stage1_MUNGED_VERSION)" endif +# This package doesn't pass the Cabal checks because data-dir +# points outside the source directory. This isn't a real problem, so +# we just skip the check. +ghc_NO_CHECK = YES + ghc_stage1_MORE_HC_OPTS = $(GhcStage1HcOpts) ghc_stage2_MORE_HC_OPTS = $(GhcStage2HcOpts) ghc_stage3_MORE_HC_OPTS = $(GhcStage3HcOpts) |