From: simonmar Date: Thu, 14 Nov 2002 10:25:26 +0000 (+0000) Subject: [project @ 2002-11-14 10:25:26 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1451 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f279803f7a5eb9b9fb7720e96b0ebbb2df65ee4f;p=ghc-hetmet.git [project @ 2002-11-14 10:25:26 by simonmar] The $(shell ...) processing was losing some quoting in $(HC_OPTS), so hack around it using $(patsubst ...) instead. --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index caf3753..c8ab927 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -514,7 +514,7 @@ include $(TOP)/mk/target.mk # ----------------------------------------------------------------------------- # Dependencies -MKDEPENDHS_HC_OPTS = $(shell echo $(HC_OPTS) | sed -e s@$(odir)/@@g) +MKDEPENDHS_HC_OPTS = $(patsubst -i$(odir)/%, -i%, $(HC_OPTS)) MKDEPENDHS=$(HC)