diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-05-06 15:17:11 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-10 20:48:04 -0400 |
commit | 699f593532a3cd5ca1c2fab6e6e4ce9d53be2c1f (patch) | |
tree | 83f1533f4d6a8ccfc11c7cc2ed0d923203560733 /hadrian/src/Settings | |
parent | 142a73d92ea1ef8054d3764b5897b83ad349fed5 (diff) | |
download | haskell-699f593532a3cd5ca1c2fab6e6e4ce9d53be2c1f.tar.gz |
packaging: Build perf builds with -split-sections
In 8f71d958 the make build system was made to use split-sections on
linux systems but it appears this logic never made it to hadrian.
There is the split_sections flavour transformer but this doesn't appear
to be used for perf builds on linux.
Closes #21135
Diffstat (limited to 'hadrian/src/Settings')
-rw-r--r-- | hadrian/src/Settings/Flavours/Performance.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Flavours/Performance.hs b/hadrian/src/Settings/Flavours/Performance.hs index fc46920703..17fb22b6ec 100644 --- a/hadrian/src/Settings/Flavours/Performance.hs +++ b/hadrian/src/Settings/Flavours/Performance.hs @@ -6,7 +6,7 @@ import {-# SOURCE #-} Settings.Default -- Please update doc/flavours.md when changing this file. performanceFlavour :: Flavour -performanceFlavour = defaultFlavour +performanceFlavour = splitSections $ defaultFlavour { name = "perf" , args = defaultBuilderArgs <> performanceArgs <> defaultPackageArgs } |