mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:09 -04:00
Skip UPX on Mac ARM
This commit is contained in:
7
Makefile
7
Makefile
@@ -12,7 +12,12 @@ MD2ROFF_BIN=github.com/davidnewhall/md2roff@v0.0.1
|
|||||||
RSRC_BIN=github.com/akavel/rsrc
|
RSRC_BIN=github.com/akavel/rsrc
|
||||||
|
|
||||||
# If upx is available, use it to compress the binaries.
|
# 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=
|
||||||
|
else
|
||||||
|
UPXPATH=$(shell which upx)
|
||||||
|
endif
|
||||||
|
|
||||||
# Travis CI passes the version in. Local builds get it from the current git tag.
|
# Travis CI passes the version in. Local builds get it from the current git tag.
|
||||||
ifeq ($(VERSION),)
|
ifeq ($(VERSION),)
|
||||||
|
|||||||
Reference in New Issue
Block a user