From 6231142e4a77315c0ada53ec4d92fe62e004682b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 16 Oct 2024 16:22:32 +0200 Subject: [PATCH] makefile: make sure we apppend to GOBULDFLAGS if user wants to add their own. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4570d5..d4faff4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ GO=go GOLDFLAGS=-v -s -w -X main.VersionString=$(PROGRAM_VERSION) -GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)" +GOBUILDFLAGS+=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)" PROGRAM=thalos-server PROGRAM_VERSION ?= 1.1.5 PREFIX=/usr/local