summaryrefslogtreecommitdiff
path: root/mk/validate-settings.mk
diff options
context:
space:
mode:
authorDavid Terei <code@davidterei.com>2014-11-12 16:11:39 -0800
committerDavid Terei <code@davidterei.com>2014-11-12 17:49:42 -0800
commit475dd93efa5158a0f9516f6819a24edfc30c1a76 (patch)
treec4f3fc0a526056dffb275d7bf9c9e142755559ac /mk/validate-settings.mk
parent1f8b4ee074b4d9e3d847b3139dc89fff1bb5d2e6 (diff)
downloadhaskell-475dd93efa5158a0f9516f6819a24edfc30c1a76.tar.gz
Add `--fwarn-trustworthy-safe` to `-Wall`
Update submodule haskell2010, haskell98, hoop, hpc and stm to fix new warnings.
Diffstat (limited to 'mk/validate-settings.mk')
-rw-r--r--mk/validate-settings.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index 52aa648893..150aec3323 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -163,6 +163,13 @@ libraries/dph/dph-lifted-common-install_EXTRA_HC_OPTS += -Wwarn
# We need to turn of deprecated warnings for SafeHaskell transition
libraries/array_dist-install_EXTRA_HC_OPTS += -fno-warn-warnings-deprecations
+# Turn of trustworthy-safe warning
+libraries/base_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
+libraries/ghc-prim_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
+libraries/containers_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
+libraries/process_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
+libraries/unix_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
+
# Temporarely disable inline rule shadowing warning
libraries/bytestring_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
libraries/template-haskell_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing