aboutsummaryrefslogtreecommitdiffstats
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-19 19:57:39 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-19 19:57:39 -0700
commit97cba4cdfefbc7a3886917275c22d2eab88eb10a (patch)
tree6b594ecf7e21bce6c0134e75497bdfc0ad51fcf1 /dos
parent606a4708c5ae9380a27e6f4260b4b3ceaea1ae75 (diff)
downloadsyslinux-devel-97cba4cdfefbc7a3886917275c22d2eab88eb10a.tar.gz
syslinux-devel-97cba4cdfefbc7a3886917275c22d2eab88eb10a.tar.xz
syslinux-devel-97cba4cdfefbc7a3886917275c22d2eab88eb10a.zip
upx: try --lzma first, since --ultra-brute doesn't... sigh
You'd think upx --ultra-brute would test everything that is possible, but not so. --lzma needs to be specified separately. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos')
-rw-r--r--dos/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 512e2e76..5bef97b7 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -60,7 +60,9 @@ libcom.a: $(LIBOBJS)
syslinux.com: syslinux.elf
$(OBJCOPY) -O binary $< $@
- $(UPX) --ultra-brute $@ || true
+ $(UPX) --lzma --ultra-brute $@ || \
+ $(UPX) --ultra-brute $@ || \
+ true
%.com: %.asm
( $(NASM) -M -DDEPEND $(NASMOPT) -o $@ -M $< && echo '' ) > .$@.d; true