summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2019-02-01 19:10:07 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-02 22:05:36 -0500
commit71dae4eb1a4891fc1a428caf70a06830864ffdc3 (patch)
tree0325f5ea80ea3824077472a3a9a88ac1d51000fd
parent45bd04d6fde909c66c2ab2347724f36bf2590e6f (diff)
downloadhaskell-71dae4eb1a4891fc1a428caf70a06830864ffdc3.tar.gz
Turn on -Wno-unused-imports in make build system
This mirrors Hadrian and it good enough to get us unstuck.
-rw-r--r--mk/warnings.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk
index 0ae81bfcac..9775df7093 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -122,6 +122,9 @@ libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-name-shadowing -Wno-unused-m
libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-unused-do-bind -Wno-missing-signatures
libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports -Wno-type-defaults
+# text warns with integer-simple
+libraries/text_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports
+
# Turn of trustworthy-safe warning
libraries/base_dist-install_EXTRA_HC_OPTS += -Wno-trustworthy-safe
libraries/ghc-prim_dist-install_EXTRA_HC_OPTS += -Wno-trustworthy-safe