aboutsummaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-04 15:57:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-04 15:57:21 -0700
commit5087b05df47272658cbb318ea3c5ea079170255d (patch)
treed35878db6f0e404333f2041d53346ec8800d8b3f /macos
parent4a98b86a78a472f57cf79d450bddf4e624456f73 (diff)
downloadpandoc-5087b05df47272658cbb318ea3c5ea079170255d.tar.gz
Use -O2 for windows, macos binary packages.
Diffstat (limited to 'macos')
-rwxr-xr-xmacos/make_macos_package.sh2
1 files changed, 1 insertions, 1 deletions
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