summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-05-11 08:29:31 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-12 14:49:58 -0400
commit541665b77faea2e81fafa905917d1f32562242a7 (patch)
tree6165625874d7104d6d6dbbff1851165d062c23b2
parent55223780a286e10b128acdb89d64d9e59a5becf1 (diff)
downloadhaskell-541665b77faea2e81fafa905917d1f32562242a7.tar.gz
hadrian: Fix dynamic+debug flag combination for check-ppr executable
-rw-r--r--hadrian/src/Rules/Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index c104f4b847..0a120d1e12 100644
--- a/hadrian/src/Rules/Test.hs
+++ b/hadrian/src/Rules/Test.hs
@@ -90,9 +90,9 @@ testRules = do
-- If GHC is build with debug options, then build check-ppr
-- also with debug options. This allows, e.g., to print debug
-- messages of various RTS subsystems while using check-ppr.
- if debugged then ["-debug"] else [] ++
+ (if debugged then ["-debug"] else []) ++
-- If GHC is build dynamic, then build check-ppr also dynamic.
- if dynPrograms then ["-dynamic"] else []
+ (if dynPrograms then ["-dynamic"] else [])
root -/- ghcConfigPath %> \_ -> do
args <- userSetting defaultTestArgs