summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadrian/src/Flavour.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs
index e49ec68964..def770733d 100644
--- a/hadrian/src/Flavour.hs
+++ b/hadrian/src/Flavour.hs
@@ -237,6 +237,7 @@ enableIPE = addArgs
enableLateCCS :: Flavour -> Flavour
enableLateCCS = addArgs
$ notStage0 ? builder (Ghc CompileHs)
+ ? ((Profiling `wayUnit`) <$> getWay)
? arg "-fprof-late"
-- | Enable assertions for the stage2 compiler
@@ -525,4 +526,3 @@ builderSetting =
stages = map (\stg -> (stageString stg, stg)) allStages
pkgs = map (\pkg -> (pkgName pkg, pkg)) (ghcPackages ++ userPackages)
-