From 5087b05df47272658cbb318ea3c5ea079170255d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Nov 2017 15:57:21 -0700 Subject: Use -O2 for windows, macos binary packages. --- macos/make_macos_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macos') diff --git a/macos/make_macos_package.sh b/macos/make_macos_package.sh index 7cdc42e0c..4dd746a7c 100755 --- a/macos/make_macos_package.sh +++ b/macos/make_macos_package.sh @@ -26,7 +26,7 @@ stack setup echo Building pandoc... stack clean -stack install --stack-yaml=stack.pkg.yaml --local-bin-path $DEST/bin/ pandoc pandoc-citeproc +stack install --ghc-options="-O2" --stack-yaml=stack.pkg.yaml --local-bin-path $DEST/bin/ pandoc pandoc-citeproc strip $DEST/bin/pandoc strip $DEST/bin/pandoc-citeproc -- cgit v1.2.3