Disable upx compression for mips arch
Cadoles/go-http-peering/pipeline/head This commit is unstable
Details
Cadoles/go-http-peering/pipeline/head This commit is unstable
Details
This commit is contained in:
parent
7cff0e3f91
commit
5be381d2b7
|
@ -29,7 +29,9 @@ function build {
|
|||
-o "$destdir/$name" \
|
||||
"$srcdir"
|
||||
|
||||
if [ ! -z "$(which upx)" ]; then
|
||||
# Disable UPX compression for MIPS archs
|
||||
# See https://github.com/upx/upx/issues/339
|
||||
if [ ! -z "$(which upx)" ] && [[ ! "$arch" =~ "mips" ]]; then
|
||||
upx --best "$destdir/$name"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue