From f279803f7a5eb9b9fb7720e96b0ebbb2df65ee4f Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 14 Nov 2002 10:25:26 +0000 Subject: [PATCH] [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. --- ghc/compiler/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4