aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-12 09:51:24 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-12 09:51:24 -0700
commitfe39bb009f4f2c6527652112208768a45cccf4c1 (patch)
treeb53e72d5ed615ded2268dba6edc641c026dd33fd /linux
parent61346163524f9a1447604d45996e1c6e924333f1 (diff)
downloadpandoc-fe39bb009f4f2c6527652112208768a45cccf4c1.tar.gz
Use -split-sections to reduce linux executable size.
Diffstat (limited to 'linux')
-rw-r--r--linux/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/Dockerfile b/linux/Dockerfile
index c039c0ec4..a669891ac 100644
--- a/linux/Dockerfile
+++ b/linux/Dockerfile
@@ -15,7 +15,7 @@ CMD cabal --version && \
git checkout -b work $TREE && \
cabal new-update && \
cabal new-clean && \
- cabal new-configure --enable-tests -f-export-dynamic -fstatic -fembed_data_files -fbibutils --ghc-options '-optc-Os -optl=-pthread -optl=-static -fPIC' . pandoc-citeproc && \
+ cabal new-configure --enable-tests -f-export-dynamic -fstatic -fembed_data_files -fbibutils --ghc-options '-optc-Os -optl=-pthread -optl=-static -fPIC -split-sections' . pandoc-citeproc && \
cabal new-build . pandoc-citeproc && \
cabal new-test -j1 . pandoc-citeproc && \
for f in $(find dist-newstyle -name 'pandoc*' -type f -perm +400); do cp $f /artifacts/; done && \