summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Flavours/Development.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Settings/Flavours/Development.hs')
-rw-r--r--hadrian/src/Settings/Flavours/Development.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/hadrian/src/Settings/Flavours/Development.hs b/hadrian/src/Settings/Flavours/Development.hs
index cce12b53d1..9c0a342bac 100644
--- a/hadrian/src/Settings/Flavours/Development.hs
+++ b/hadrian/src/Settings/Flavours/Development.hs
@@ -12,7 +12,8 @@ developmentFlavour ghcStage = defaultFlavour
, args = defaultBuilderArgs <> developmentArgs ghcStage <> defaultPackageArgs
, libraryWays = pure [vanilla]
, rtsWays = pure [vanilla, logging, debug, threaded, threadedLogging, threadedDebug]
- , dynamicGhcPrograms = return False }
+ , dynamicGhcPrograms = return False
+ , ghcDebugAssertions = True }
developmentArgs :: Stage -> Args
developmentArgs ghcStage = do
@@ -24,5 +25,5 @@ developmentArgs ghcStage = do
package cabal ? pure ["-O0"]]
, hsLibrary = notStage0 ? arg "-dcore-lint"
, hsCompiler = mconcat [stage0 ? arg "-O2",
- succ stage == ghcStage ? pure ["-O0", "-DDEBUG"]]
- , hsGhc = succ stage == ghcStage ? pure ["-O0", "-DDEBUG"] }
+ succ stage == ghcStage ? pure ["-O0"]]
+ , hsGhc = succ stage == ghcStage ? pure ["-O0"] }