File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ ifndef CGO_LDFLAGS
1919 export CGO_LDFLAGS := $(LDFLAGS )
2020endif
2121
22- GO_LDFLAGS := -X github.com/cli/cli/command.Version=$(GH_VERSION )
23- GO_LDFLAGS + = -X github.com/cli/cli/command.BuildDate=$(BUILD_DATE )
22+ GO_LDFLAGS := -X github.com/cli/cli/command.Version=$(GH_VERSION ) $( GO_LDFLAGS )
23+ GO_LDFLAGS : = -X github.com/cli/cli/command.BuildDate=$(BUILD_DATE ) $( GO_LDFLAGS )
2424ifdef GH_OAUTH_CLIENT_SECRET
25- GO_LDFLAGS + = -X github.com/cli/cli/internal/config.oauthClientID=$(GH_OAUTH_CLIENT_ID)
26- GO_LDFLAGS + = -X github.com/cli/cli/internal/config.oauthClientSecret=$(GH_OAUTH_CLIENT_SECRET)
25+ GO_LDFLAGS : = -X github.com/cli/cli/internal/config.oauthClientID=$(GH_OAUTH_CLIENT_ID) $(GO_LDFLAGS )
26+ GO_LDFLAGS : = -X github.com/cli/cli/internal/config.oauthClientSecret=$(GH_OAUTH_CLIENT_SECRET) $(GO_LDFLAGS )
2727endif
2828
2929bin/gh : $(BUILD_FILES )
You can’t perform that action at this time.
0 commit comments