summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-03-17 00:42:59 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-17 10:17:13 -0400
commit1a0dd0088247f9d4e403a460f0f6120184af3e15 (patch)
tree4a9275b1beab88e512f1402823d2554902fa8c91
parent8a516527e03a17b5b7ebc3f7f88bf710bd16495c (diff)
downloadhaskell-1a0dd0088247f9d4e403a460f0f6120184af3e15.tar.gz
Hadrian: account for change in late-ccs flag
The late cost centre flag was renamed from -fprof-late-ccs to -fprof-late in 7fe07143, but this change hadn't been propagated to Hadrian.
-rw-r--r--hadrian/doc/flavours.md2
-rw-r--r--hadrian/src/Flavour.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/doc/flavours.md b/hadrian/doc/flavours.md
index b4b36f556d..f0d34ddc90 100644
--- a/hadrian/doc/flavours.md
+++ b/hadrian/doc/flavours.md
@@ -221,7 +221,7 @@ The supported transformers are listed below:
dynamic linker. You should use a flavour that builds profiling libs and rts,
i.e. not <code>quick</code>.
- This flag adds cost centres with the -fprof-late-ccs flag. </td>
+ This flag adds cost centres with the -fprof-late flag. </td>
</tr>
<tr>
<td><code>no_dynamic_ghc</code></td>
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs
index 04eddf8e88..25416294e7 100644
--- a/hadrian/src/Flavour.hs
+++ b/hadrian/src/Flavour.hs
@@ -207,7 +207,7 @@ enableIPE =
enableLateCCS :: Flavour -> Flavour
enableLateCCS =
- let Right kv = parseKV "stage1.*.ghc.hs.opts += -fprof-late-ccs"
+ let Right kv = parseKV "stage1.*.ghc.hs.opts += -fprof-late"
Right transformer = applySetting kv
in transformer