Skip to content

Commit 5233445

Browse files
committed
Add -trimpath to link command as well as makefile
1 parent dba41d5 commit 5233445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/webserver/buildmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func Build(goos, goarch, suppliedConnectBackAdress, fingerprint, name, comment,
125125
buildArguments = append(buildArguments, "-tiny", "-literals")
126126
}
127127

128-
buildArguments = append(buildArguments, "build")
128+
buildArguments = append(buildArguments, "build", "-trimpath")
129129

130130
if shared {
131131
buildArguments = append(buildArguments, "-buildmode=c-shared")

0 commit comments

Comments
 (0)