golang: fix runtime init on chromeos (#648)
authorMichael Marineau <mike@marineau.org>
Tue, 3 Jan 2017 09:09:55 +0000 (01:09 -0800)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 3 Jan 2017 09:09:55 +0000 (10:09 +0100)
commit5cfeae293b3290de2da2249f63b1220d0eea6fbe
tree88f42375fffabb2678ff0921c6571c72e3d4fb39
parent71ab8c6e7f0a7e6471066ca25c4c53a2c94521a0
golang: fix runtime init on chromeos (#648)

Android on ChromeOS uses a restrictive seccomp filter that blocks
sched_getaffinity. Simply assume 1 CPU on any error.
packages/golang/build.sh
packages/golang/src-runtime-os_linux.patch [new file with mode: 0644]