summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-03-31 06:47:44 -0500
committerAustin Seipp <austin@well-typed.com>2014-03-31 06:47:47 -0500
commit52c6dc970272437aa83a936fc1fe63977fa6178d (patch)
tree8bd13180867c8a6fc973dd81f23982bce385b3ad /ghc.mk
parent345eea26ee740436728547d997a6f7ee5cea50a5 (diff)
downloadhaskell-52c6dc970272437aa83a936fc1fe63977fa6178d.tar.gz
Temporarily fight off build bogons on OS X
Right now there's a bug with Clang that prevents 'cabal haddock' from working nicely. But there's an easy fix for now. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 72a2f2426f..dab90508a6 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1350,7 +1350,7 @@ validate_build_xhtml:
cd libraries/xhtml && ./Setup configure --with-ghc="$(BINDIST_PREFIX)/bin/ghc" $(BINDIST_HADDOCK_FLAG) $(BINDIST_LIBRARY_FLAGS) --global --builddir=dist-bindist --prefix="$(BINDIST_PREFIX)"
cd libraries/xhtml && ./Setup build --builddir=dist-bindist
ifeq "$(HADDOCK_DOCS)" "YES"
- cd libraries/xhtml && ./Setup haddock --builddir=dist-bindist
+ cd libraries/xhtml && ./Setup haddock --ghc-options=-optP-P --builddir=dist-bindist
endif
cd libraries/xhtml && ./Setup install --builddir=dist-bindist
cd libraries/xhtml && ./Setup clean --builddir=dist-bindist