diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-02-28 09:27:04 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-02-28 10:56:07 -0500 |
commit | c686af5818686efb55cfd81ac104027c959d6277 (patch) | |
tree | f30c9924759689db56fc1e7a684392a54fea697f /ghc.mk | |
parent | c662d41e2006f5a45619d40d2369b24642348f1a (diff) | |
download | haskell-c686af5818686efb55cfd81ac104027c959d6277.tar.gz |
Add flag allowing convenient disabling of terminfo support
This is a common thing that users who cross-compile must fight against.
It turns out that it's pretty straightforward to make is convenient.
Test Plan: Cross compile without a target `ncurses` available
Reviewers: danharaj, hvr, erikd, austin, rwbarton
Subscribers: rwbarton, thomie, snowleopard
Differential Revision: https://phabricator.haskell.org/D3177
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -431,9 +431,7 @@ else # CLEANING # compiler already has installed (or up-to-date enough). PACKAGES_STAGE0 = binary Cabal/Cabal hpc ghc-boot-th ghc-boot hoopl transformers template-haskell ghci -ifeq "$(Windows_Host)" "NO" PACKAGES_STAGE0 += terminfo -endif PACKAGES_STAGE1 += ghc-prim PACKAGES_STAGE1 += $(INTEGER_LIBRARY) @@ -469,7 +467,7 @@ ifeq "$(HADDOCK_DOCS)" "YES" PACKAGES_STAGE1 += xhtml endif -ifeq "$(Windows_Target)" "NO" +ifeq "$(WITH_TERMINFO)" "YES" PACKAGES_STAGE1 += terminfo endif PACKAGES_STAGE1 += haskeline |