summaryrefslogtreecommitdiff
path: root/bindisttest/ghc.mk
diff options
context:
space:
mode:
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 4b211064b1..cf2e481efd 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -38,7 +38,7 @@ test_bindist:
ifeq "$(Windows_Host)" "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) --with-gcc="$(WhatGccIsCalled)"
+ cd bindisttest/a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(TOP)/$(BIN_DIST_INST_DIR) CC="$(CC)"
cd bindisttest/a/b/c/$(BIN_DIST_NAME) && $(MAKE) install
endif
ifeq "$(GhcProfiled)" "NO"