SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/syncthing/patches/patch-build_go
Normal file
12
net/syncthing/patches/patch-build_go
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: build.go
|
||||
--- build.go.orig
|
||||
+++ build.go
|
||||
@@ -562,7 +562,7 @@ func appendParameters(args []string, tags []string, pk
|
||||
|
||||
if !debugBinary {
|
||||
// Regular binaries get version tagged and skip some debug symbols
|
||||
- args = append(args, "-trimpath", "-ldflags", ldflags(tags))
|
||||
+ args = append(args, "-x", "-trimpath", "-ldflags", ldflags(tags))
|
||||
} else {
|
||||
// -gcflags to disable optimizations and inlining. Skip -ldflags
|
||||
// because `Could not launch program: decoding dwarf section info at
|
Loading…
Add table
Add a link
Reference in a new issue