diff --git a/Makefile b/Makefile index 4b8ab6f..969418d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PROGNAME = dumbproxy OUTSUFFIX = bin/$(PROGNAME) VERSION := $(shell git describe) -BUILDOPTS = -a -tags netgo +BUILDOPTS = -a -tags netgo -trimpath LDFLAGS = -ldflags '-s -w -extldflags "-static" -X main.version=$(VERSION)' LDFLAGS_NATIVE = -ldflags '-s -w -X main.version=$(VERSION)'