good morning!!!!

Skip to content
Snippets Groups Projects
Commit 46d47215 authored by Anton Evangelatov's avatar Anton Evangelatov Committed by Péter Szilágyi
Browse files

build: explicitly name all packages to be cross-compiled (#17288)

parent 454382e8
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,9 @@ var (
debEthereum,
}
// Packages to be cross-compiled by the xgo command
allCrossCompiledArchiveFiles = append(allToolsArchiveFiles, swarmArchiveFiles...)
// Distros for which packages are created.
// Note: vivid is unsupported because there is no golang-1.6 package for it.
// Note: wily is unsupported because it was officially deprecated on lanchpad.
......@@ -1009,7 +1012,7 @@ func doXgo(cmdline []string) {
if *alltools {
args = append(args, []string{"--dest", GOBIN}...)
for _, res := range allToolsArchiveFiles {
for _, res := range allCrossCompiledArchiveFiles {
if strings.HasPrefix(res, GOBIN) {
// Binary tool found, cross build it explicitly
args = append(args, "./"+filepath.Join("cmd", filepath.Base(res)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment