Re-add -optc-Os to static linux build, because it makes binary smaller.
This commit is contained in:
1 parent
2002481aee
commit
7fa4d367bb
1 file changed
+1
-1
@@ -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