Temporarily turn off unused-do-bind warnings for the time package
[ghc-hetmet.git] / rules / distdir-opts.mk
index 5394adf..d104a13 100644 (file)
@@ -1,3 +1,15 @@
+# -----------------------------------------------------------------------------
+#
+# (c) 2009 The University of Glasgow
+#
+# This file is part of the GHC build system.
+#
+# To understand how the build system works and how to modify it, see
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
+#
+# -----------------------------------------------------------------------------
+
 
 # Set compilation flags that depend on a particular directory/distdir
 
@@ -54,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