Skip to content

Commit

Permalink
Makefile: Remove "-s -w" from build-dbg target
Browse files Browse the repository at this point in the history
This will keep the symbol table and the DWARF information.
  • Loading branch information
JoeKar committed Sep 16, 2024
1 parent 4d2ddc7 commit 6e46ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6e46ae3

Please sign in to comment.