mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
keep debug symbols (#438)
Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
This commit is contained in:
parent
ec6fb5a323
commit
504557785e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ app-via-docker: package-base package-builder
|
||||||
$(DOCKER_OPTS) \
|
$(DOCKER_OPTS) \
|
||||||
$(BUILDER_IMAGE) \
|
$(BUILDER_IMAGE) \
|
||||||
go build $(RACE) -mod=vendor -trimpath \
|
go build $(RACE) -mod=vendor -trimpath \
|
||||||
-ldflags "-s -w -extldflags '-static' $(GO_BUILDINFO)" \
|
-ldflags "-extldflags '-static' $(GO_BUILDINFO)" \
|
||||||
-tags 'netgo osusergo nethttpomithttp2' \
|
-tags 'netgo osusergo nethttpomithttp2' \
|
||||||
-o bin/$(APP_NAME)$(APP_SUFFIX)-prod $(PKG_PREFIX)/app/$(APP_NAME)
|
-o bin/$(APP_NAME)$(APP_SUFFIX)-prod $(PKG_PREFIX)/app/$(APP_NAME)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue