summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
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
+ }
]