[commit: ghc] master: Fix building when $(CC_STAGE0) contains spaces (d0fc2a6)

Ian Lynagh igloo at earth.li
Tue Mar 19 17:27:43 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/d0fc2a6a36b8ea2ea56ed7cce057999d110e078a

>---------------------------------------------------------------

commit d0fc2a6a36b8ea2ea56ed7cce057999d110e078a
Author: Ian Lynagh <ian at well-typed.com>
Date:   Tue Mar 19 15:34:50 2013 +0000

    Fix building when $(CC_STAGE0) contains spaces
    
    Spotted by Bill Tutt

>---------------------------------------------------------------

 rules/distdir-opts.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk
index d855dde..fd415b6 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) \





More information about the ghc-commits mailing list