[commit: ghc] master: Fix Stage1Only: don't build ghctags. (5fb7255)

git at git.haskell.org git at git.haskell.org
Wed Aug 14 07:43:42 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5fb72555f7b7ab67a33583f33ad9160761ca434f/ghc

>---------------------------------------------------------------

commit 5fb72555f7b7ab67a33583f33ad9160761ca434f
Author: Austin Seipp <aseipp at pobox.com>
Date:   Tue Aug 13 16:34:02 2013 -0500

    Fix Stage1Only: don't build ghctags.
    
    ghctags needs the stage2 compiler, since it uses the GHC API.
    
    Fixes #8126.
    
    Authored-by: Stephen Blackheath <... at blacksapphire.com>
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


>---------------------------------------------------------------

5fb72555f7b7ab67a33583f33ad9160761ca434f
 ghc.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ghc.mk b/ghc.mk
index d8d222e..0e18618 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





More information about the ghc-commits mailing list