Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

Commit 0c92e33

Browse files
committed
Sprit debug information from executable
1 parent b6b789e commit 0c92e33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ build-linux: clean
2929
$(GOBUILD) -o $(APP_NAME).go -o $(RELEASEDIR)/$(RELEASE_NAME)
3030

3131
build-win: format clean setup
32-
GOOS=windows GOARCH=386 $(GOBUILD) -o $(APP_NAME).go -o $(RELEASEDIR)/$(RELEASE_NAME)$(BINARY_WIN)
32+
GOOS=windows GOARCH=386 $(GOBUILD) -ldflags "-s -w" -o $(APP_NAME).go -o $(RELEASEDIR)/$(RELEASE_NAME)$(BINARY_WIN)
3333

3434
release: build-win

0 commit comments

Comments
 (0)