From 6e46ae309052b8832f3fc3a25ec8428ffdf8f8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Thu, 12 Sep 2024 19:05:37 +0200 Subject: [PATCH] Makefile: Remove "-s -w" from `build-dbg` target This will keep the symbol table and the DWARF information. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 604758ce..cda96241 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ build-quick: go build -trimpath -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro build-dbg: - go build -trimpath -ldflags "-s -w $(ADDITIONAL_GO_LINKER_FLAGS) $(DEBUGVAR)" ./cmd/micro + go build -trimpath -ldflags "$(ADDITIONAL_GO_LINKER_FLAGS) $(DEBUGVAR)" ./cmd/micro build-tags: fetch-tags build