summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-19 15:34:50 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-19 15:34:50 +0000
commitd0fc2a6a36b8ea2ea56ed7cce057999d110e078a (patch)
tree599817bdf5893932b18a9c006a8adca634fef399 /rules
parent3df97a703dc35b42155d75a760798627a1529bd1 (diff)
downloadhaskell-d0fc2a6a36b8ea2ea56ed7cce057999d110e078a.tar.gz
Fix building when $(CC_STAGE0) contains spaces
Spotted by Bill Tutt
Diffstat (limited to 'rules')
-rw-r--r--rules/distdir-opts.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk
index d855ddead9..fd415b64db 100644
--- a/rules/distdir-opts.mk
+++ b/rules/distdir-opts.mk
@@ -79,8 +79,8 @@ $1_$2_HSC2HS_LD_OPTS:=$$(shell for i in $$($1_$2_DIST_LD_OPTS); do echo \'--lfla
endif
$1_$2_ALL_HSC2HS_OPTS = \
- --cc=$$(CC_STAGE$3) \
- --ld=$$(CC_STAGE$3) \
+ '--cc=$$(CC_STAGE$3)' \
+ '--ld=$$(CC_STAGE$3)' \
$$(CONF_HSC2HS_OPTS) \
$$(SRC_HSC2HS_OPTS) \
$$(SRC_HSC2HS_OPTS_STAGE$3) \