mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
00edc1c6b1
commit
37baae3699
@ -146,6 +146,11 @@ func setup(goos string) {
|
|||||||
|
|
||||||
func doBuild(binaryName, pkg string, opts BuildOpts) error {
|
func doBuild(binaryName, pkg string, opts BuildOpts) error {
|
||||||
log.Println("building", binaryName, pkg)
|
log.Println("building", binaryName, pkg)
|
||||||
|
|
||||||
|
if err := setBuildEnv(opts); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
libcPart := ""
|
libcPart := ""
|
||||||
if opts.libc != "" {
|
if opts.libc != "" {
|
||||||
libcPart = fmt.Sprintf("-%s", opts.libc)
|
libcPart = fmt.Sprintf("-%s", opts.libc)
|
||||||
@ -194,9 +199,6 @@ func doBuild(binaryName, pkg string, opts BuildOpts) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := setBuildEnv(opts); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
runPrint("go", "version")
|
runPrint("go", "version")
|
||||||
libcPart = ""
|
libcPart = ""
|
||||||
if opts.libc != "" {
|
if opts.libc != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user