diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-01 10:06:10 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-01 10:06:10 -0800 |
commit | 26c496d93647dd589af6c07c2273801ff7b49950 (patch) | |
tree | 47c0f4e23d8e3c8e3b5698122fa30ac3ae481bf3 /linux | |
parent | 7f1b933aaacf4a01fb23fa4989f190098e96e702 (diff) | |
download | pandoc-26c496d93647dd589af6c07c2273801ff7b49950.tar.gz |
Use -split-sections in creating release binary.
This is supposed to reduce executable size.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/make_artifacts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index 34c0bd082..f0ff00f1a 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -16,7 +16,7 @@ ghc --version cabal v2-update cabal v2-clean -cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-optc-Os -optl=-pthread' pandoc +cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-split-sections -optc-Os -optl=-pthread' pandoc cabal v2-build cabal v2-test -j1 for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f /artifacts/; done |