aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-27 09:36:52 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-27 09:36:52 -0700
commit9e63924f28123324f6668870b0713e17198c203c (patch)
treef84e2cc71ff3de28d4636c53d7c7780b71fde0bb /Makefile
parent03293a4ac48b66325dbb3df1a1285ec62ed3a825 (diff)
downloadpandoc-9e63924f28123324f6668870b0713e17198c203c.tar.gz
Add ghc-options to cabal.project.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f20b9c0d0..bcfa42732 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master
RESOLVER?=lts-13
-GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -fhide-source-paths -j +RTS -A32M -RTS
+GHCOPTS=-fdiagnostics-color=always
# Later:
# -Wpartial-fields (currently used in Powerpoint writer)
# -Wmissing-export-lists (currently some Odt modules violate this)
@@ -14,7 +14,7 @@ quick:
stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)'
quick-cabal:
- cabal new-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests
+ cabal new-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
cabal new-build . --disable-optimization
cabal new-install --symlink-bindir=$$HOME/.local/bin
cabal new-run test-pandoc --disable-optimization -- --hide-successes $(TESTARGS)