Skip to content

Commit 2640af7

Browse files
committed
build(windows): adjust production ldflags
1 parent 14c6ec8 commit 2640af7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/windows/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tasks:
2424
- cmd: rm -f *.syso
2525
platforms: [linux, darwin]
2626
vars:
27-
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -trimpath -buildvcs=false -ldflags="-s -w -H windowsgui"{{else}}-buildvcs=false -gcflags=all="-l"{{end}}'
27+
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -trimpath -buildvcs=false -ldflags="-H windowsgui"{{else}}-buildvcs=false -gcflags=all="-l"{{end}}'
2828
env:
2929
GOOS: windows
3030
CGO_ENABLED: 0

0 commit comments

Comments
 (0)