Merge pull request #373 from swannman/master

Skip upx when building on Mac ARM
This commit is contained in:
David Newhall 2021-11-12 02:19:01 -08:00 committed by GitHub
commit f524ae066b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ RSRC_BIN=github.com/akavel/rsrc
# If upx is available, use it to compress the binaries.
UPXPATH=$(shell which upx)
# Skip upx in Mac ARM environments: https://github.com/upx/upx/issues/446
ifeq ($(shell uname -ps),Darwin arm)
UPXPATH=
endif
# Travis CI passes the version in. Local builds get it from the current git tag.
ifeq ($(VERSION),)
include .metadata.make