From dd2a704cf0aafe49d957c863edf1d674bff33d8f Mon Sep 17 00:00:00 2001 From: kewegner <47402596+kewegner@users.noreply.github.com> Date: Tue, 29 Oct 2019 11:55:40 -0500 Subject: [PATCH] Cgo (#46) * temporary key change * reverted key * cgo change * fix space issue --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 705ee89..a61e219 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ clean: ## Removes existing build artifacts in order to get a fresh build .PHONY: build build: ## Build binary for linux stores it in the build/ dir - GOOS=linux GOARCH=amd64 go build -o $(BUILD_PATH)/$(COMMAND) -ldflags "-X main.VERSION=$(VERSION)" + GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -o $(BUILD_PATH)/$(COMMAND) -ldflags "-X main.VERSION=$(VERSION)" .PHONY: package package: build ## Build the linux binary and stores it in package/ dir