ctxt.LinkMode = LinkInternal
case "1":
if objabi.GOARCH == "ppc64" {
- Exitf("external linking requested via GO_EXTLINK_ENABLED but not supported for linux/ppc64")
+ Exitf("external linking requested via GO_EXTLINK_ENABLED but not supported for %s/ppc64", objabi.GOOS)
}
ctxt.LinkMode = LinkExternal
default:
ctxt.LinkMode = LinkInternal
}
if objabi.GOARCH == "ppc64" && ctxt.LinkMode == LinkExternal {
- Exitf("external linking is not supported for linux/ppc64")
+ Exitf("external linking is not supported for %s/ppc64", objabi.GOOS)
}
}
case LinkInternal:
}
case LinkExternal:
if objabi.GOARCH == "ppc64" {
- Exitf("external linking not supported for linux/ppc64")
+ Exitf("external linking not supported for %s/ppc64", objabi.GOOS)
}
}
}