From 7d2dbfc3ddfa756c855cc01d8f66b236e493f476 Mon Sep 17 00:00:00 2001 From: Austin Seipp <austin@well-typed.com> Date: Mon, 31 Mar 2014 06:47:44 -0500 Subject: [PATCH] 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> (cherry picked from commit 52c6dc970272437aa83a936fc1fe63977fa6178d) --- ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc.mk b/ghc.mk index f864443e21fe..eeb0d6a11dc1 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 -- GitLab