diff options
author | Ian Lynagh <igloo@earth.li> | 2009-01-16 17:39:17 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-01-16 17:39:17 +0000 |
commit | 835cd3393de17822d7275402f9ff3e70f392c36e (patch) | |
tree | 6fe299ae745f1dd6e831838729505c7241ffcbdc /testsuite/mk | |
parent | 82de8caa4fd1ee1102344c721791a12c98b93e5b (diff) | |
download | haskell-835cd3393de17822d7275402f9ff3e70f392c36e.tar.gz |
Hack to find gcc for an in-place ghc
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index e8bd73af3b..64bf857fa5 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -68,6 +68,10 @@ endif endif GHC_PKG := $(OLD_BUILD_SYSTEM_GHC_PKG) HP2PS_ABS := $(OLD_BUILD_SYSTEM_HP2PS) +# XXX This GCC definition is a hack. Once the in-tree GHC has a gcc in the +# right place we won't need to do this, as Cabal will be able to find +# gcc relative to ghc's location. +GCC := $(shell cd $(TOP)/.. && $(MAKE) --no-print-directory show VALUE=WhatGccIsCalled | sed 's/.*"\(.*\)"/\1/') else NEW_BUILD_SYSTEM_STAGE1_GHC := $(abspath $(TOP)/../inplace/bin/ghc-stage1) |