From 1a0dd0088247f9d4e403a460f0f6120184af3e15 Mon Sep 17 00:00:00 2001 From: sheaf Date: Thu, 17 Mar 2022 00:42:59 +0100 Subject: 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. --- hadrian/doc/flavours.md | 2 +- hadrian/src/Flavour.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hadrian') 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 quick. - This flag adds cost centres with the -fprof-late-ccs flag. + This flag adds cost centres with the -fprof-late flag. no_dynamic_ghc 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 -- cgit v1.2.1