summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-02-09 11:06:13 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-09 11:06:24 +0100
commit04fb7813ab489b1d70a73351836950825b2ce4f7 (patch)
treeb2dc315e19d7f1091302b85f8dc991a851978fd4 /boot
parent4ec61411930495fc109be27993c176fd7aaf486d (diff)
downloadhaskell-04fb7813ab489b1d70a73351836950825b2ce4f7.tar.gz
Early error when crosscompiling + haddock/docs
When CrossCompiling=YES or Stage1Only=YES, building the haddocks and the User's Guide should be skipped, because haddock and mkUserGuidePart depend on the GHC API. See Note [No stage2 packages when CrossCompiling or Stage1Only] for details. There are several places in the build system where the variables HADDOCK_DOCS and BUILD_SPHINX_* are checked. Instead of also checking for the variables CrossCompiling or Stage1Only in all those places, `make` will now exit with a nice error message when the user requests the impossible. Reviewers: rwbarton, austin, bgamari Reviewed By: bgamari Differential Revision: https://phabricator.haskell.org/D1882
Diffstat (limited to 'boot')
0 files changed, 0 insertions, 0 deletions