mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: remove allCrossCompiledArchiveFiles; inline allToolsArchiveFiles
This commit is contained in:
parent
1ecf0ebb6c
commit
ad49e01f25
1 changed files with 3 additions and 4 deletions
|
|
@ -131,9 +131,6 @@ var (
|
||||||
debEthereum,
|
debEthereum,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Packages to be cross-compiled by the xgo command
|
|
||||||
allCrossCompiledArchiveFiles = append(allToolsArchiveFiles)
|
|
||||||
|
|
||||||
// Distros for which packages are created.
|
// Distros for which packages are created.
|
||||||
// Note: vivid is unsupported because there is no golang-1.6 package for it.
|
// 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.
|
// Note: wily is unsupported because it was officially deprecated on lanchpad.
|
||||||
|
|
@ -996,7 +993,9 @@ func doXgo(cmdline []string) {
|
||||||
|
|
||||||
if *alltools {
|
if *alltools {
|
||||||
args = append(args, []string{"--dest", GOBIN}...)
|
args = append(args, []string{"--dest", GOBIN}...)
|
||||||
for _, res := range allCrossCompiledArchiveFiles {
|
|
||||||
|
// Packages to be cross-compiled by the xgo command
|
||||||
|
for _, res := range allToolsArchiveFiles {
|
||||||
if strings.HasPrefix(res, GOBIN) {
|
if strings.HasPrefix(res, GOBIN) {
|
||||||
// Binary tool found, cross build it explicitly
|
// Binary tool found, cross build it explicitly
|
||||||
args = append(args, "./"+filepath.Join("cmd", filepath.Base(res)))
|
args = append(args, "./"+filepath.Join("cmd", filepath.Base(res)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue