summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-07 11:05:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-07 11:05:09 -0700
commit92ae33b1b34af0d7df0d6bf2a52635ca393831a7 (patch)
treefef7c7cff4cf9a560ac751127b241d25bde3ca60
parentbdbaaa207c23ddad6c6334286366f0f0c6b528a0 (diff)
downloadnasm-92ae33b1b34af0d7df0d6bf2a52635ca393831a7.tar.gz
nsis: use /solid compression for smaller size
Use /solid compression for smaller size. By default nsis compresses one file at a time (like .zip default), as opposed to the whole data block (.tar.gz). The latter gives significantly better compression, so use it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--nsis/nasm.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsis/nasm.nsi b/nsis/nasm.nsi
index cf128bea..ad368e57 100644
--- a/nsis/nasm.nsi
+++ b/nsis/nasm.nsi
@@ -36,7 +36,7 @@
!define PACKAGE_NAME "${PRODUCT_NAME} ${VERSION}"
!define PACKAGE_SHORT_NAME "${PRODUCT_SHORT_NAME}-${VERSION}"
-SetCompressor lzma
+SetCompressor /solid lzma
!if "${NSIS_PACKEDVERSION}" >= 0x3000000
Unicode true