[commit: ghc] master: Build system: Add stage specific SRC_HC_(WARNING_)OPTS (14d0f7f)
git at git.haskell.org
git at git.haskell.org
Tue Dec 1 09:51:53 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/14d0f7f1221db758cd06a69f53803d9d0150164a/ghc
>---------------------------------------------------------------
commit 14d0f7f1221db758cd06a69f53803d9d0150164a
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Mon Nov 30 12:35:58 2015 +0100
Build system: Add stage specific SRC_HC_(WARNING_)OPTS
* Add stage specific versions of SRC_HC_OPTS. These are currently only
used for -Werror. The previous combination of GhcStage2HcOpts and
GhcLibHcOpts didn't apply to utils/*.
* Add stage specific versions of SRC_HC_WARNING_OPTS. These will later be
used for new warning supression flags that should not be passed to the
bootstrap compiler.
* Move -Wall (and -Werror) related code back to mk/warnings.mk, where it
was before 987d54274. Now all warning related code is nicely together.
Include mk/warnings.mk after mk/custom-settings.mk to make this work.
Reviewed By: bgamari, hvr
Differential Revision: https://phabricator.haskell.org/D1536
>---------------------------------------------------------------
14d0f7f1221db758cd06a69f53803d9d0150164a
ghc.mk | 17 +++++----------
mk/config.mk.in | 49 +++++++++++++++++++++++++++++++++++--------
mk/warnings.mk | 44 ++++++++++++++++++++++++++++++--------
rules/distdir-way-opts.mk | 19 ++++++++++++++++-
utils/mkUserGuidePart/Main.hs | 5 -----
5 files changed, 98 insertions(+), 36 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 14d0f7f1221db758cd06a69f53803d9d0150164a
More information about the ghc-commits
mailing list