summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-06-06 13:45:46 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-17 20:40:34 -0700
commitc838658103c644ef6c32e92025b1d4999aa0f9bd (patch)
treed38d76f235e20fb76f8321bd060fe57b45216c43 /mk
parent4f9675b2e0533000aeda861f3b4c04dd9ad79970 (diff)
downloadhaskell-c838658103c644ef6c32e92025b1d4999aa0f9bd.tar.gz
SafeHaskell: Fix validation errors when unsafe base used
Diffstat (limited to 'mk')
-rw-r--r--mk/validate-settings.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index e250fa6fb4..7831f530a8 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -7,6 +7,9 @@ HADDOCK_DOCS = YES
SRC_CC_OPTS += -Wall $(WERROR)
SRC_HC_OPTS += -Wall $(WERROR) -H64m -O0
+# Safe by default
+#SRC_HC_OPTS += -Dsh_SAFE_DEFAULT
+
GhcStage1HcOpts += -O
GhcStage2HcOpts += -O