Skip to content

Commit

Permalink
string addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Pathak committed Jan 24, 2023
1 parent 7c6ac59 commit 2b9ad71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/builder/internal/builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Compile(cfg Config) error {
ldflags = cfg.LDFlags
args = append(args, "-gcflags=all=-N -l")
} else if len(cfg.LDFlags) > 0 {
ldflags = fmt.Sprintf("%s %s", ldflags, cfg.LDFlags)
ldflags += " " + cfg.LDFlags
}
args = append(args, "-ldflags="+ldflags)
if cfg.Distribution.BuildTags != "" {
Expand Down

0 comments on commit 2b9ad71

Please sign in to comment.