git.iko.soy/typeable/pandoc
on master help sign in
Re-add -optc-Os to static linux build, because it makes binary smaller.
commit7fa4d367bb2d083ea865e22b4439b321cfbc3011 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 18 Nov 2020, 19:02 (6 years ago) parent2002481
1 file changed+1−1
linux/make_artifacts.sh+1−1
linux/make_artifacts.sh+1−1
@@ -16,7 +16,7 @@ ghc --version
1616
1717cabal v2-update
1818cabal v2-clean
19−cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static pandoc
19+cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-optc-Os -optl=-pthread' pandoc
2020cabal v2-build
2121cabal v2-test -j1
2222for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f /artifacts/; done