Merge pull request #262390 from pbsds/ldflags-casing

{turbo,kind}: fix -ldflags casing
This commit is contained in:
Weijia Wang 2023-10-24 07:42:18 +02:00 committed by GitHub
commit 2b612f7408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ buildGoModule rec {
CGO_ENABLED = 0;
GOFLAGS = [ "-trimpath" ];
ldFlags = [ "-buildid=" "-w" ];
ldflags = [ "-buildid=" "-w" ];
doCheck = false;

View File

@ -79,7 +79,7 @@ let
libiconv
];
ldFlags = [
ldflags = [
"-s -w"
"-X main.version=${version}"
"-X main.commit=${src.rev}"