summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index 0ca6cdd768..ac92a526de 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -90,6 +90,10 @@ space=$(empty) $(empty)
# -----------------------------------------------------------------------------
+ifeq "$(ghc_ge_609)" "YES"
+GhcLibHcOpts += -fno-warn-deprecated-flags
+endif
+
ifeq "$(RelocatableBuild)" "YES"
# On Windows we want to make moveable bindists, but we need to tell
# ghc-pkg where the haddock docs are. Therefore we completely ignore