Skip to content

Commit

Permalink
chore(build): add flag gcflags in build command
Browse files Browse the repository at this point in the history
  • Loading branch information
JadeMin committed Feb 19, 2024
1 parent ef8b149 commit c7d88c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FUNCTION BUILD {

$ENV:GOOS = $OS
$ENV:GOARCH = $ARCH
go build -trimpath -ldflags="-s -w" -o="$OUTPATH"
go build -gcflags=all="-l -B" -ldflags="-s -w" -trimpath -o="$OUTPATH"
}


Expand Down

0 comments on commit c7d88c9

Please sign in to comment.