summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-08-21 17:30:13 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-31 23:01:39 -0400
commit2da933084b766fc424b11f5b671574d4c7317134 (patch)
treef6970226bd0c07f4c5f0f390a8154470a7c53c9b /hadrian
parentfe18b4825c3289089a65b7b16b25e9d216a5b0fd (diff)
downloadhaskell-2da933084b766fc424b11f5b671574d4c7317134.tar.gz
Hadrian: fix slow-validate flavour (#18586)
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Flavours/Validate.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Flavours/Validate.hs b/hadrian/src/Settings/Flavours/Validate.hs
index f49f5112de..451291ff1e 100644
--- a/hadrian/src/Settings/Flavours/Validate.hs
+++ b/hadrian/src/Settings/Flavours/Validate.hs
@@ -42,5 +42,10 @@ slowValidateFlavour = werror $ validateFlavour
slowValidateArgs :: Args
slowValidateArgs =
mconcat [ validateArgs
- , notStage0 ? arg "-DDEBUG"
+ , sourceArgs SourceArgs
+ { hsCompiler = notStage0 ? arg "-DDEBUG"
+ , hsDefault = mempty
+ , hsLibrary = mempty
+ , hsGhc = mempty
+ }
]