ghc_stage3_HC_OPTS += -threaded
endif
-# XXX ToDp
-# ifeq "$(GhcProfiled)" "YES"
+ifeq "$(GhcProfiled)" "YES"
+ghc_stage2_HC_OPTS += -prof
+endif
ghc_stage1_MODULES = Main
.PNONY: install_ghc_link
install_ghc_link:
"$(RM)" $(RM_OPTS) $(DESTDIR)$(bindir)/ghc
- "$(LN_S)" ghc-$(ProjectVersion) $(DESTDIR)$(bindir)/ghc
+ $(LN_S) ghc-$(ProjectVersion) $(DESTDIR)$(bindir)/ghc
else
# On Windows we install the main binary as $(bindir)/ghc.exe
# To get ghc-<version>.exe we have a little C program in driver/ghc