summaryrefslogtreecommitdiff
path: root/mk/validate-settings.mk
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-07-26 21:33:23 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-07-26 21:51:58 +0100
commit2c82539cdb3b078d710a35f7ee78878d27d654a1 (patch)
tree7291b34d2688996d035cefcb3bf2687e3b242a4c /mk/validate-settings.mk
parent74fb5c40f2730b5d6f17aadc5c13cab777c13e6e (diff)
downloadhaskell-2c82539cdb3b078d710a35f7ee78878d27d654a1.tar.gz
Re-enable inline-rule-shadowing warning.
Keep the warning off for template-haskell and bytestring for the moment.
Diffstat (limited to 'mk/validate-settings.mk')
-rw-r--r--mk/validate-settings.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index ba3b4879e6..08300b933f 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -110,9 +110,10 @@ libraries/binary_dist-install_EXTRA_HC_OPTS += -fno-warn-warnings-deprecations
libraries/binary/src/Data/Binary/Builder/Base_HC_OPTS += -fno-warn-warnings-deprecations
libraries/binary/src/Data/Binary/Get_HC_OPTS += -fno-warn-warnings-deprecations
+# 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
+
# We need -fno-warn-deprecated-flags to avoid failure with -Werror
GhcLibHcOpts += -fno-warn-deprecated-flags
GhcBootLibHcOpts += -fno-warn-deprecated-flags
-
-# Temporarely disable rule shadowing warning
-GhcLibHcOpts += -fno-warn-inline-rule-shadowing