From b55c9113d0e0ebdd5f4fcf579efdcfdd952566fa Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 9 Sep 2003 09:49:49 +0000 Subject: [PATCH] [project @ 2003-09-09 09:49:49 by simonmar] Build Happy, Alex, and Haddock before GHC if they are in this source tree. --- mk/config.mk.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index 9721467..8d5b6d5 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -139,11 +139,15 @@ BootingFromHc = @BootingFromHc@ # rather than registerised code, i.e., disable the mangler? BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@ -# build the libs first if we're bootstrapping from .hc files +# Build Order: we build Happy, Haddock and Alex before GHC if they are +# in this source tree, just in case our GHC build depends on these +# local builds rather than installed versions of the tools. +# +# Build the libs first if we're bootstrapping from .hc files. ifeq "$(BootingFromHc)" "YES" -AllProjects = glafp-utils libraries hslibs ghc greencard happy hdirect hood nofib haddock alex +AllProjects = glafp-utils happy alex haddock libraries hslibs ghc greencard hdirect hood nofib else -AllProjects = glafp-utils ghc libraries hslibs greencard happy hdirect hood nofib haddock alex +AllProjects = glafp-utils happy alex haddock ghc libraries hslibs greencard hdirect hood nofib endif # -- 1.7.10.4