use arch to detect platform

pull/827/merge^2
Adrian Batzill 2021-03-11 22:01:04 +01:00
rodzic 883cb496a4
commit d646f86fc0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ $(if $(GOROOT),,$(error GOROOT is not set!))
PLATFORMDEPENDENT=fancontrol
endif
ARCH := $(shell uname -p)
ARCH := $(shell arch)
ifeq ($(ARCH),aarch64)
OGN_RX_BINARY=ogn/ogn-rx-eu_aarch64
else