@ -215,9 +215,9 @@ func doInstall(cmdline []string) {
var minor int
fmt . Sscanf ( strings . TrimPrefix ( runtime . Version ( ) , "go1." ) , "%d" , & minor )
if minor < 11 {
if minor < 13 {
log . Println ( "You have Go version" , runtime . Version ( ) )
log . Println ( "go-ethereum requires at least Go version 1.11 and cannot" )
log . Println ( "go-ethereum requires at least Go version 1.13 and cannot" )
log . Println ( "be compiled with an earlier version. Please upgrade your Go installation." )
os . Exit ( 1 )
}
@ -233,6 +233,7 @@ func doInstall(cmdline []string) {
if runtime . GOARCH == "arm64" {
goinstall . Args = append ( goinstall . Args , "-p" , "1" )
}
goinstall . Args = append ( goinstall . Args , "-trimpath" )
goinstall . Args = append ( goinstall . Args , "-v" )
goinstall . Args = append ( goinstall . Args , packages ... )
build . MustRun ( goinstall )
@ -241,6 +242,7 @@ func doInstall(cmdline []string) {
// Seems we are cross compiling, work around forbidden GOBIN
goinstall := goToolArch ( * arch , * cc , "install" , buildFlags ( env ) ... )
goinstall . Args = append ( goinstall . Args , "-trimpath" )
goinstall . Args = append ( goinstall . Args , "-v" )
goinstall . Args = append ( goinstall . Args , [ ] string { "-buildmode" , "archive" } ... )
goinstall . Args = append ( goinstall . Args , packages ... )