[project @ 2002-11-14 10:25:26 by simonmar]
authorsimonmar <unknown>
Thu, 14 Nov 2002 10:25:26 +0000 (10:25 +0000)
committersimonmar <unknown>
Thu, 14 Nov 2002 10:25:26 +0000 (10:25 +0000)
The $(shell ...) processing was losing some quoting in $(HC_OPTS), so
hack around it using $(patsubst ...) instead.

ghc/compiler/Makefile

index caf3753..c8ab927 100644 (file)
@@ -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)