1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

makefile: make sure we apppend to GOBULDFLAGS if user wants to add their own.

This commit is contained in:
Henrik Hautakoski 2024-10-16 16:22:32 +02:00
parent 84547e5ad3
commit 6231142e4a

View file

@ -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