mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: remove --lzma option from upx call
This commit is contained in:
parent
7b18e5d198
commit
dd61a22367
@ -395,7 +395,12 @@ start:
|
||||
println('strip failed')
|
||||
return
|
||||
}
|
||||
ret2 := os.system('upx --lzma -qqq $v.out_name')
|
||||
// NB: upx --lzma can sometimes fail with NotCompressibleException
|
||||
// See https://github.com/vlang/v/pull/3528
|
||||
mut ret2 := os.system('upx --lzma -qqq $v.out_name')
|
||||
if ret2 != 0 {
|
||||
ret2 = os.system('upx -qqq $v.out_name')
|
||||
}
|
||||
if ret2 != 0 {
|
||||
println('upx failed')
|
||||
$if macos {
|
||||
|
Loading…
Reference in New Issue
Block a user