module: disable cgo for easier cross-compiling

This commit is contained in:
cn 2018-12-15 20:44:52 +01:00
parent 4c348f2044
commit 3b4627f988
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ test: build
.PHONY: cmd/munin-miflora/munin-miflora
cmd/munin-miflora/munin-miflora:
cd cmd/munin-miflora && go build && cd ../..
cd cmd/munin-miflora && CGO_ENABLED=0 go build && cd ../..
.PHONY: cmd/munin-miflora/munin-miflora-gatt
cmd/munin-miflora/munin-miflora-gatt:
cd cmd/munin-miflora-gatt && go build && cd ../..
cd cmd/munin-miflora-gatt && CGO_ENABLED=0 go build && cd ../..