trojan-go: enable go debug binary stripping (#401509)
This commit is contained in:
@@ -20,6 +20,8 @@ buildGoModule rec {
|
||||
vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/p4gefau1t/trojan-go/constant.Version=v${version}"
|
||||
"-X github.com/p4gefau1t/trojan-go/constant.Commit=v${version}"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user