X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fdistdir-opts.mk;h=d104a1381099cf3d2d5b1454a816ea01dcb70192;hb=4ca8014a87f4ce067a1c84a8e54d0278c254c748;hp=5394adfc78b60f963d0732e3edbbfc50ccb967fd;hpb=34cc75e1a62638f2833815746ebce0a9114dc26b;p=ghc-hetmet.git diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk index 5394adf..d104a13 100644 --- a/rules/distdir-opts.mk +++ b/rules/distdir-opts.mk @@ -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