summaryrefslogtreecommitdiff
path: root/mk/validate-settings.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-09-23 09:56:42 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-09-23 09:56:42 +0000
commit1c1ed8694bdd24b003fa5935d001a1835e9b0f4e (patch)
tree618f8aa531dbc76dfcf45b315e3d1522d3366659 /mk/validate-settings.mk
parent21b05036b6659aa3370f76c24c0e08e7a31f302b (diff)
downloadhaskell-1c1ed8694bdd24b003fa5935d001a1835e9b0f4e.tar.gz
Refactoring and tidy up in the build system
Instead of the ghc-stage and ghc-stage2-package files in a package, we now have a list of these in ghc.mk. There are other similar lists (of boot-packages and non-installable packages), so this is not too bad, and is simpler. While poking around in the top-level ghc.mk file I spotted various opportunities to clean up and re-order some of the cruft that has accumulated over time.
Diffstat (limited to 'mk/validate-settings.mk')
-rw-r--r--mk/validate-settings.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index 48da7fa12c..8038501379 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -60,3 +60,7 @@ libraries/dph/dph-prim-par_dist-install_EXTRA_HC_OPTS += -Wwarn
libraries/dph/dph-seq_dist-install_EXTRA_HC_OPTS += -Wwarn
libraries/dph/dph-par_dist-install_EXTRA_HC_OPTS += -Wwarn
+# We need -fno-warn-deprecated-flags to avoid failure with -Werror
+GhcLibHcOpts += -fno-warn-deprecated-flags
+GhcBootLibHcOpts += -fno-warn-deprecated-flags
+