diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-03-17 00:42:59 +0100 |
---|---|---|
committer | sheaf <sam.derbyshire@gmail.com> | 2022-03-17 00:42:59 +0100 |
commit | 9f41d3bddb7f269167f289302965bed5b6b05e6b (patch) | |
tree | 3dd324bf766459893e492213ba722a25f655aee0 | |
parent | bb779b90bb093274ccf7a8e5b19f6661f4925bde (diff) | |
download | haskell-wip/hadrian-late.tar.gz |
Hadrian: account for change in late-ccs flagwip/hadrian-late
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.md | 2 | ||||
-rw-r--r-- | hadrian/src/Flavour.hs | 2 |
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 |