From: Ian Lynagh Date: Sat, 18 Jul 2009 13:45:36 +0000 (+0000) Subject: Temporarily turn off unused-do-bind warnings for the time package X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=4ca8014a87f4ce067a1c84a8e54d0278c254c748 Temporarily turn off unused-do-bind warnings for the time package --- diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk index 21edcb4..e02ef3c 100644 --- a/mk/validate-settings.mk +++ b/mk/validate-settings.mk @@ -28,3 +28,6 @@ GhcStage2HcOpts += -XGenerics -DDEBUG GhcLibHcOpts += -XGenerics endif +# Temporarily turn off unused-do-bind warnings for the time package +libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-do-bind + diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk index 5aee691..d104a13 100644 --- a/rules/distdir-opts.mk +++ b/rules/distdir-opts.mk @@ -66,7 +66,8 @@ $1_$2_BUILD_HC_OPTS = \ $$(if $$($1_PACKAGE),-optP-include -optP$1/$2/build/autogen/cabal_macros.h) \ $$(foreach pkg,$$($1_$2_DEPS),-package $$(pkg)) \ $$(if $$(findstring YES,$$($1_$2_SplitObjs)),-split-objs,) \ - $$($1_$2_HC_OPTS) + $$($1_$2_HC_OPTS) \ + $$($1_$2_EXTRA_HC_OPTS) endef