summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-02-28 17:13:21 -0600
committerAustin Seipp <austin@well-typed.com>2014-02-28 17:13:24 -0600
commit251b18aba97329ff41b8479ff78d38505cf086f8 (patch)
treeeb43b66ff8917b5d29779dc49961d67608d2f833 /mk
parentf9627252fc278ecaafbb1885c31adad7357c0763 (diff)
downloadhaskell-251b18aba97329ff41b8479ff78d38505cf086f8.tar.gz
binary-dist: when using xz, use extreme compression.
When building a binary distribution with TAR_COMP=xz, using the -9e flag (extremely high compression) results in substantial savings: for the Mavericks builds, bzip2 scores in at about 120mb, while xz at level 9 scores about 60mb - a huge reduction! This of course takes significantly longer - but it does not affect decompression speed for end users, so it's certainly worth it. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 6fec58924e..b805a14e06 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -697,7 +697,7 @@ PATCH_CMD = @PatchCmd@
TAR_CMD = @TarCmd@
BZIP2_CMD = bzip2
GZIP_CMD = gzip
-XZ_CMD = xz
+XZ_CMD = xz -9e
# bzip2 is default compression
TAR_COMP = bzip2