From ee041e6969441a29690672174f7e9a7ba696cece Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 29 Nov 2024 14:31:25 +0100 Subject: [PATCH] adjust makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 788677f..26a12f7 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL := /bin/bash TARGETS = solrbulk solrbulk: cmd/solrbulk/solrbulk.go - go build cmd/solrbulk/solrbulk.go + go build -ldflags "-w -s -linkmode=external" -o $@ $^ .PHONY: all all: imports test