Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 83f6d20

Browse files
committed
Fixed build issue
1 parent 94c8bf0 commit 83f6d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ GOBUILD=$(GOCMD) build
33
BINARY_NAME=raspberry_exporter
44
all: aarch64 armhf
55
aarch64:
6-
$(GOBUILD) -o out/armhf/$(BINARY_NAME)
6+
GOOS=linux GOARCH=arm64 $(GOBUILD) -o out/aarch64/$(BINARY_NAME)
77
armhf:
8-
$(GOBUILD) -o out/aarch64/$(BINARY_NAME)
8+
GOOS=linux GOARCH=arm $(GOBUILD) -o out/armhf/$(BINARY_NAME)

0 commit comments

Comments
 (0)