summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-23 00:12:02 +0000
committerIan Lynagh <igloo@earth.li>2008-07-23 00:12:02 +0000
commit318f217d3169cdcca74d20c5c4b45721c89bc9cd (patch)
tree4602654a49d9d8c0b97c1a9bddf33bafe8fd4108 /mk
parentdc6008a61acedd3d0785111cf8955c479cb226a4 (diff)
downloadhaskell-318f217d3169cdcca74d20c5c4b45721c89bc9cd.tar.gz
Tell Cabal where gcc is
Diffstat (limited to 'mk')
-rw-r--r--mk/cabal-flags.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/cabal-flags.mk b/mk/cabal-flags.mk
index 4e61c662d8..b50702d0e5 100644
--- a/mk/cabal-flags.mk
+++ b/mk/cabal-flags.mk
@@ -15,9 +15,10 @@ FLAGGED_CONFIGURE_ARGS = $(subst $(space)',\
$(space)--configure-option=',\
$(space)$(CONFIGURE_ARGS))
-COMMON_CONFIGURE_FLAGS = \
- --libsubdir='$$pkgid' \
- --with-ld=$(LD) \
+COMMON_CONFIGURE_FLAGS = \
+ --libsubdir='$$pkgid' \
+ --with-gcc=$(WhatGccIsCalled) \
+ --with-ld=$(LD) \
$(addprefix --hsc2hs-option=,$(SRC_HSC2HS_OPTS))
ifneq "$(HSCOLOUR)" ""