Skip to content

Commit

Permalink
fix makefile command for building armv6
Browse files Browse the repository at this point in the history
  • Loading branch information
vernak2539 committed Sep 23, 2022
1 parent 8eb726a commit 973805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -11,4 +11,4 @@ build_arm7:

.PHONY: build_arm6
build_arm6:
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARM=6 GOARCH=arm go build -o build/dht_sensor_exporter-$(VERSION)-linux-armv7 ./cmd/main.go
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARM=6 GOARCH=arm go build -o build/dht_sensor_exporter-$(VERSION)-linux-armv6 ./cmd/main.go

0 comments on commit 973805a

Please sign in to comment.