diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-23 00:12:02 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-23 00:12:02 +0000 |
commit | 318f217d3169cdcca74d20c5c4b45721c89bc9cd (patch) | |
tree | 4602654a49d9d8c0b97c1a9bddf33bafe8fd4108 /mk | |
parent | dc6008a61acedd3d0785111cf8955c479cb226a4 (diff) | |
download | haskell-318f217d3169cdcca74d20c5c4b45721c89bc9cd.tar.gz |
Tell Cabal where gcc is
Diffstat (limited to 'mk')
-rw-r--r-- | mk/cabal-flags.mk | 7 |
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)" "" |