mirror of
https://github.com/cmur2/miflorad.git
synced 2026-10-02 13:33:51 +02:00
module: disable cgo for easier cross-compiling
This commit is contained in:
1 parent
4c348f2044
commit
3b4627f988
1 file changed
+2
-2
@@ -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 ../..
|
||||
Reference in new issue
Block a user