1 Commits

Author SHA1 Message Date
5be381d2b7 Disable upx compression for mips arch
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
2022-09-12 18:22:49 +02:00

View File

@ -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