From 7fbd18be4122b406b3273be98a1ee54bc3ec23c4 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 28 Aug 2024 14:16:27 +0300 Subject: [PATCH] [#25] 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