summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-13 16:34:02 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-14 00:42:37 -0500
commit5fb72555f7b7ab67a33583f33ad9160761ca434f (patch)
treedb368df2a339957be581ad177cbbbd9a027de865 /ghc.mk
parenta27895b359db20197d9ec72b03c4e304a20585d8 (diff)
downloadhaskell-5fb72555f7b7ab67a33583f33ad9160761ca434f.tar.gz
Fix Stage1Only: don't build ghctags.
ghctags needs the stage2 compiler, since it uses the GHC API. Fixes #8126. Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index d8d222ee6b..0e186186e6 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -658,7 +658,9 @@ BUILD_DIRS += compiler
BUILD_DIRS += utils/hsc2hs
BUILD_DIRS += utils/ghc-pkg
BUILD_DIRS += utils/testremove
+ifeq "$(Stage1Only)" "NO"
BUILD_DIRS += utils/ghctags
+endif
BUILD_DIRS += utils/dll-split
BUILD_DIRS += utils/ghc-pwd
BUILD_DIRS += utils/ghc-cabal