[project @ 2005-04-05 09:42:48 by simonmar]
[ghc-hetmet.git] / ghc / compiler / Makefile
index 32b29f0..f9fbb55 100644 (file)
@@ -405,7 +405,7 @@ ifeq "$(GhcWithInterpreter) $(bootstrapped)" "YES YES"
 
 # Yes, include the interepreter, readline, and Template Haskell extensions
 SRC_HC_OPTS += -DGHCI -package template-haskell
-PKG_DEPENDS += template_haskell
+PKG_DEPENDS += template-haskell
 
 ALL_DIRS += ghci
 
@@ -757,6 +757,9 @@ SplitObjs = NO
 # set GhcCompilerWays instead.
 GhcLibWays = $(GhcCompilerWays)
 
+# override $(GhcLibHcOpts): we want GhcStage2HcOpts to take precedence
+GhcLibHcOpts =
+
 # override default definition of HS_IFACES so we can add $(odir)
 HS_IFACES   = $(addsuffix .$(way_)hi,$(basename $(HS_OBJS)))
 endif