Remove GhcDynamic (in favor of DYNAMIC_GHC_PROGRAMS)
authorReid Barton <rwbarton@gmail.com>
Wed, 12 Apr 2017 18:10:12 +0000 (14:10 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 12 Apr 2017 18:53:06 +0000 (14:53 -0400)
commit2c1312bdf93e0c6fc64236c404f3664271f3b0f6
treed572d9da26d2f5daea974d21178ef193d9b408ae
parent0ecd7fae57cfe0849b5efcce1ec14df9bbd3292e
Remove GhcDynamic (in favor of DYNAMIC_GHC_PROGRAMS)

DYNAMIC_GHC_PROGRAMS and GhcDynamic both tried to control whether
the ghc binary was built as a dynamic executable, with confusing
results. In particular, setting GhcDynamic=NO has no effect on
systems where DYNAMIC_GHC_PROGRAMS defaults to YES.

DYNAMIC_GHC_PROGRAMS is more fully-featured (it ensures that the
correct flavor of the libraries is built, for example) so let's
keep it and remove GhcDynamic to reduce confusion.

This effectively reverts commit 3c6190b0.

Test Plan: tested locally; harbormaster

Reviewers: simonmar, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie, snowleopard

Differential Revision: https://phabricator.haskell.org/D3428
ghc/ghc.mk
mk/config.mk.in