mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 08:46:56 +00:00
Re-add -optc-Os to static linux build, because it makes binary smaller.
This commit is contained in:
@@ -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 pandoc
|
||||
cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-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
|
||||
|
||||
Reference in New Issue
Block a user