Skip to content

Commit

Permalink
add CGO_ENABLED=0 to all builds
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Houliston <[email protected]>
  • Loading branch information
Houlistonm authored and Tallicia committed Sep 28, 2023
1 parent 57eca5d commit 28586d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ build:

build_all:
mkdir -p build
GOOS=darwin GOARCH=arm64 go build $(GOFLAGS) -o $(BUILD_DEST)-darwin-arm64
GOOS=darwin GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-darwin-amd64
GOOS=linux GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-linux-amd64
GOOS=windows GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-windows-amd64
CGO_ENABLE=0 GOOS=darwin GOARCH=arm64 go build $(GOFLAGS) -o $(BUILD_DEST)-darwin-arm64
CGO_ENABLE=0 GOOS=darwin GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-darwin-amd64
CGO_ENABLE=0 GOOS=linux GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-linux-amd64
CGO_ENABLE=0 GOOS=windows GOARCH=amd64 go build $(GOFLAGS) -o $(BUILD_DEST)-windows-amd64

install:
rm -rf $(INSTALL_DEST)
Expand Down

0 comments on commit 28586d9

Please sign in to comment.