ghc_stage2_MORE_HC_OPTS += -package haskeline
ghc_stage3_MORE_HC_OPTS += -package haskeline
-ghc_language_extension_flags = -XCPP \
- -XPatternGuards \
- -XForeignFunctionInterface \
- -XUnboxedTuples \
- -XFlexibleInstances \
- -XMagicHash
-ghc_stage1_MORE_HC_OPTS += $(ghc_language_extension_flags)
-ghc_stage2_MORE_HC_OPTS += $(ghc_language_extension_flags)
-ghc_stage3_MORE_HC_OPTS += $(ghc_language_extension_flags)
-
ghc_stage1_SHELL_WRAPPER = YES
ghc_stage2_SHELL_WRAPPER = YES
ghc_stage3_SHELL_WRAPPER = YES
ifneq "$(BINDIST)" "YES"
-# ToDo: should we add these in the build-prog macro?
-ghc/stage1/build/tmp/$(ghc_stage1_PROG) : $(compiler_stage1_v_LIB)
-ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(compiler_stage2_v_LIB)
-ghc/stage3/build/tmp/$(ghc_stage3_PROG) : $(compiler_stage3_v_LIB)
-
ifeq "$(GhcProfiled)" "YES"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(compiler_stage2_p_LIB)
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_p_LIB))