From: Ian Lynagh Date: Sat, 20 Nov 2010 15:59:20 +0000 (+0000) Subject: When testing the bindist, tell it where gcc is X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=414929e778330a743aed4fd3bb5e6968ef564c7b 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. --- diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk index 0530ae0..4be2166 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"