From 11f84271cd376469e8485e5dea2841c51bf96f3b Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 8 Oct 2023 15:23:11 +0300 Subject: [PATCH] more trimpath for reproducibility --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 52d5eb6..f78fd13 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PROGNAME = opera-proxy OUTSUFFIX = bin/$(PROGNAME) VERSION := $(shell git describe) -BUILDOPTS = -a -tags netgo -trimpath +BUILDOPTS = -a -tags netgo -trimpath -asmflags -trimpath LDFLAGS = -ldflags '-s -w -extldflags "-static" -X main.version=$(VERSION)' LDFLAGS_NATIVE = -ldflags '-s -w -X main.version=$(VERSION)'