mirror of
https://github.com/eosswedenorg/thalos
synced 2026-08-25 20:08:13 +02:00
Makefile: move link flags to GOLDFLAGS variable.
This commit is contained in:
parent
08ce37141c
commit
b84b11aa6c
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
GO=go
|
GO=go
|
||||||
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="-v -s -w -X main.VersionString=$(PROGRAM_VERSION)"
|
GOLDFLAGS=-v -s -w -X main.VersionString=$(PROGRAM_VERSION)
|
||||||
|
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)"
|
||||||
PROGRAM=thalos-server
|
PROGRAM=thalos-server
|
||||||
PROGRAM_VERSION=0.1.2
|
PROGRAM_VERSION=0.1.2
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue