diff options
-rw-r--r-- | hadrian/src/Flavour.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index 7339eb6fb1..3f2b30352e 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -156,12 +156,11 @@ enableDebugInfo = addArgs $ notStage0 ? mconcat -- | Enable the ticky-ticky profiler in stage2 GHC enableTickyGhc :: Flavour -> Flavour enableTickyGhc = - addArgs $ foldMap enableTickyFor [ghc, compiler, base] - where - enableTickyFor pkg = stage1 ? package pkg ? mconcat + addArgs $ stage1 ? mconcat [ builder (Ghc CompileHs) ? ticky , builder (Ghc LinkHs) ? ticky ] + where ticky = mconcat [ arg "-ticky" , arg "-ticky-allocd" |