summaryrefslogtreecommitdiffstats
path: root/src/dkv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/dkv/Makefile')
-rw-r--r--src/dkv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkv/Makefile b/src/dkv/Makefile
index 6eb2941..f540692 100644
--- a/src/dkv/Makefile
+++ b/src/dkv/Makefile
@@ -8,7 +8,7 @@ all: test build
deploy: test build
build: deps format
- go build -o $(GOPATH)/target/$(BINARY) -v main.go
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w' -o $(GOPATH)/target/$(BINARY) -v main.go
clean:
go clean