VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-23 11:12:34 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-23 12:52:24 (GMT)
commit6f371c09732b7f9d2b0adba02a25ffa8eee404e2 (patch)
treedf98b4acfcb5b5fbd45a5c76d8892e1b597ab133
parent3d3a3900c6ed462f853bb7a671f2a80accdac15c (diff)
downloadVeraCrypt-6f371c09732b7f9d2b0adba02a25ffa8eee404e2.zip
VeraCrypt-6f371c09732b7f9d2b0adba02a25ffa8eee404e2.tar.gz
Windows MBR Bootloader: always compress bootloader with upx to reduce runtime memory requirement thanks to its in-place decompression.
-rw-r--r--src/Boot/Windows/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Boot/Windows/Makefile b/src/Boot/Windows/Makefile
index a750626..1966a3c 100644
--- a/src/Boot/Windows/Makefile
+++ b/src/Boot/Windows/Makefile
@@ -197,9 +197,9 @@ $(LIBS)
del $(PROJ).crf $(PROJ).crf2
# Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes)
-!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
+#!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
upx $(PROJ).$(TARGETEXT)
-!endif
+#!endif
gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz
-dd.exe conv=notrunc,sync bs=512 seek=5 if=$(PROJ).$(TARGETEXT).gz of=$(PROJ).flp 2>NUL:
cd ..