From 5e6a7ddf6e391e05e1f3b4782263c30b7022ebf0 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Fri, 6 Oct 2023 15:01:21 +0300 Subject: [PATCH] reproducible build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 78a031d..52d5eb6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PROGNAME = opera-proxy 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)'