summaryrefslogtreecommitdiff
path: root/bindisttest/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-11-20 15:59:20 +0000
committerIan Lynagh <igloo@earth.li>2010-11-20 15:59:20 +0000
commit414929e778330a743aed4fd3bb5e6968ef564c7b (patch)
treed2ead9121b6a34c5840f267038a44b4f87271667 /bindisttest/ghc.mk
parent75d172aa49ec59699f52837eb4c6ea8abc27a03e (diff)
downloadhaskell-414929e778330a743aed4fd3bb5e6968ef564c7b.tar.gz
When testing the bindist, tell it where gcc is
The location isn't baked into the bindist, as it may differ from machine to machine.
Diffstat (limited to 'bindisttest/ghc.mk')
-rw-r--r--bindisttest/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk
index 0530ae00f1..4be2166217 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -34,7 +34,7 @@ test_bindist:
ifeq "$(Windows)" "YES"
mv bindisttest/a/b/c/$(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
else
- cd bindisttest/a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(TOP)/$(BIN_DIST_INST_DIR)
+ cd bindisttest/a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(TOP)/$(BIN_DIST_INST_DIR) --with-gcc="$(WhatGccIsCalled)"
cd bindisttest/a/b/c/$(BIN_DIST_NAME) && $(MAKE) install
endif
ifeq "$(GhcProfiled)" "NO"