From 0cf23eee3a56d3df9ce9f269079d26441fedf82d Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 28 Aug 2024 14:16:27 +0300 Subject: [PATCH] Makefile: Use -trimpath while building Signed-off-by: Evgenii Stratonikov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8667f50..eb6467c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ test: lib: @mkdir -pv $(OUT_DIR) - @go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) + @go build -buildmode=plugin -trimpath \ + -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) lint: @golangci-lint run