Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Cgo (#46)
Browse files Browse the repository at this point in the history
* temporary key change

* reverted key

* cgo change

* fix space issue
  • Loading branch information
kewegner authored and chilanti committed Oct 29, 2019
1 parent ca74aa9 commit dd2a704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd2a704

Please sign in to comment.