Skip to content

Commit

Permalink
disable cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvil committed Oct 16, 2024
1 parent aebb6c7 commit 4840483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ run:
go run .

compile:
GOARCH=amd64 GOOS=darwin go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-darwin
GOARCH=amd64 GOOS=linux go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-linux
GOARCH=amd64 GOOS=windows go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-windows
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-darwin
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-linux
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -o ${PACKAGES_DIR}/wanguard_exporter-${EXPORTER_VERSION}-windows

0 comments on commit 4840483

Please # to comment.