aboutsummaryrefslogtreecommitdiff
path: root/windows
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 /windows
parent4a98b86a78a472f57cf79d450bddf4e624456f73 (diff)
downloadpandoc-5087b05df47272658cbb318ea3c5ea079170255d.tar.gz
Use -O2 for windows, macos binary packages.
Diffstat (limited to 'windows')
-rw-r--r--windows/make-windows-installer.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
index 1517e9bf9..15d97d9d2 100644
--- a/windows/make-windows-installer.bat
+++ b/windows/make-windows-installer.bat
@@ -1,5 +1,5 @@
@echo off
-stack install --test --stack-yaml=..\stack.pkg.yml
+stack install --test --ghc-options="-O2" --stack-yaml=..\stack.pkg.yml
if %errorlevel% neq 0 exit /b %errorlevel%
for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a
%BINPATH%\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html