diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2023-04-04 10:52:49 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-05-04 14:58:14 -0400 |
commit | 8cc9a534951d8352c31c9a21f5f91bbf188722b2 (patch) | |
tree | a599c18813ae3b42638af97d135f0913cfc6f900 /compiler/GHC | |
parent | 8fde4ac84ec7b1ead238cb158bbef48555d12af9 (diff) | |
download | haskell-8cc9a534951d8352c31c9a21f5f91bbf188722b2.tar.gz |
hadrian: Flavour: Change args -> extraArgs
Previously in a flavour definition you could override all the flags
which were passed to GHC. This causes issues when needed to compute a
package hash because we need to know what these extra arguments are
going to be before computing the hash. The solution is to modify flavour
so that the arguments you pass here are just extra ones rather than all
the arguments that you need to compile something.
This makes things work more like how cabal.project files work when you
give extra arguments to a package and also means that flavour
transformers correctly affect the hash.
Diffstat (limited to 'compiler/GHC')
0 files changed, 0 insertions, 0 deletions