X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fpackage-config.mk;h=65df6bf235b6f1560e9740652f52808c12fb1701;hb=f845e5f8339ead4b7189d5d1af6d882593af5dcc;hp=f111e1efac195284692d011df49d392443903ebe;hpb=cc2e327cf8966a9e5d8d3f3d7ce1d0867f1627ec;p=ghc-hetmet.git diff --git a/rules/package-config.mk b/rules/package-config.mk index f111e1e..65df6bf 100644 --- a/rules/package-config.mk +++ b/rules/package-config.mk @@ -13,8 +13,10 @@ define package-config # args: $1 = dir, $2 = distdir, $3 = GHC stage $(call trace, package-config($1,$2,$3)) +$(call profStart, package-config($1,$2,$3)) $1_$2_HC = $$(GHC_STAGE$3) +$1_$2_CC = $$(CC_STAGE$3) # configuration stuff that depends on which GHC we're building with ifeq "$3" "0" @@ -55,4 +57,5 @@ endif # Useful later $1_$2_SLASH_MODS = $$(subst .,/,$$($1_$2_MODULES)) +$(call profEnd, package-config($1,$2,$3)) endef