Use -split-sections to reduce linux executable size.
This commit is contained in:
parent
6134616352
commit
fe39bb009f
1 changed files with 1 additions and 1 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue