From 4d5cf3e7e8eb3d178dfee50df01325dcca8a0e57 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Tue, 11 May 2021 08:29:31 +0100 Subject: hadrian: Fix dynamic+debug flag combination for check-ppr executable --- hadrian/src/Rules/Test.hs | 4 ++-- 1 file 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 -- cgit v1.2.1