summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2021-03-10 13:29:27 +0100
committerAndreas Klebinger <klebinger.andreas@gmx.at>2021-03-10 13:31:20 +0100
commit46405600b23f7e1fb8c3f7573f84d2d3dbb563e4 (patch)
tree3c18d56d2204427a7dac304f33ad9faccbdab170
parente483775c3ff39523d18c44f04b4842518437fba8 (diff)
downloadhaskell-46405600b23f7e1fb8c3f7573f84d2d3dbb563e4.tar.gz
Use -O for the make dwarf flavour.wip/andreask/dwarf_O1
This brings it in line with validates settings for CI purposes. Addresses #19511
-rw-r--r--mk/flavours/dwarf.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/flavours/dwarf.mk b/mk/flavours/dwarf.mk
index 15f16e2c37..5ae69a2bb6 100644
--- a/mk/flavours/dwarf.mk
+++ b/mk/flavours/dwarf.mk
@@ -4,9 +4,10 @@
SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O2
-GhcStage2HcOpts = -O2 -g3
-GhcRtsHcOpts = -O2 -g3
-GhcLibHcOpts = -O2 -g3
+# These optimization settings should match the valide ones.
+GhcStage2HcOpts = -O -g3
+GhcRtsHcOpts = -O -g3
+GhcLibHcOpts = -O -g3
BUILD_PROF_LIBS = YES
#SplitObjs
#HADDOCK_DOCS