X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.mk;h=03971be82ac2197341d5854ece6a614c3d9ca874;hb=7a7fe41638ef01160b8d8db981f9187528416760;hp=901b0695997a01dd80c881ccf44ca455bd35c202;hpb=93853f4fd8722cc829570ac34808c60a3f5b74d5;p=ghc-hetmet.git diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 901b069..03971be 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -395,7 +395,7 @@ compiler_stage3_CONFIGURE_OPTS := $(compiler_stage2_CONFIGURE_OPTS) compiler_stage1_CONFIGURE_OPTS += --ghc-option=-DSTAGE=1 compiler_stage2_CONFIGURE_OPTS += --ghc-option=-DSTAGE=2 compiler_stage3_CONFIGURE_OPTS += --ghc-option=-DSTAGE=3 -compiler_stage2_HADDOCK_OPTS += --haddock-option=--optghc=-DSTAGE=2 +compiler_stage2_HADDOCK_OPTS += --optghc=-DSTAGE=2 compiler_stage1_CONFIGURE_OPTS += --ghc-options='$(GhcStage1HcOpts)' compiler_stage2_CONFIGURE_OPTS += --ghc-options='$(GhcStage2HcOpts)' @@ -468,6 +468,9 @@ ifeq "$(stage)" "3" $(eval $(call build-package,compiler,stage3,2)) endif +compiler_stage2_TAGS_HC_OPTS = -package ghc +$(eval $(call tags-package,compiler,stage2)) + $(compiler_stage1_depfile_haskell) : compiler/stage1/$(PLATFORM_H) $(compiler_stage2_depfile_haskell) : compiler/stage2/$(PLATFORM_H) $(compiler_stage3_depfile_haskell) : compiler/stage3/$(PLATFORM_H)