Skip to content

Commit

Permalink
Update go.go
Browse files Browse the repository at this point in the history
  • Loading branch information
necrose99 authored Jan 3, 2021
1 parent 6f85b42 commit d6950de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ func GoCrossCompile(opts *CompileOpts) error {
}
if opts.ModMode != "" {
args = append(args, "-mod", opts.ModMode)
}
}
if opts.Buildmode != "" {
args = append(args, "-buildmode", opts.Buildmode)
}
args = append(args,
"-gcflags", opts.Gcflags,
Expand Down

1 comment on commit d6950de

@necrose99
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.