mirror of
https://github.com/cmur2/miflorad.git
synced 2025-01-24 03:27:05 +01:00
module: disable cgo for easier cross-compiling
This commit is contained in:
parent
4c348f2044
commit
3b4627f988
4
Makefile
4
Makefile
@ -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 ../..
|
||||
|
Loading…
x
Reference in New Issue
Block a user