aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-29 08:51:20 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-29 10:10:43 +0000
commitb4fbe9fcb9ff6bcf90756fc2cd2df5e413f78b31 (patch)
tree3762dd4c190c1a5a9292c78f1f49df3ae5a25eb7
parent8bf97dd2c4723f2b432055031fc7510d10a51b8d (diff)
downloadaports-b4fbe9fcb9ff6bcf90756fc2cd2df5e413f78b31.tar.bz2
aports-b4fbe9fcb9ff6bcf90756fc2cd2df5e413f78b31.tar.xz
main/go-bootstrap: enable for x86 again
Grsec kernel changes was the result of go-bootstrap failing to build for x86. This can be worked around with setting: sysctl -w kernel.modify_ldt=1 See: https://github.com/alpinelinux/linux-stable-grsec/commit/1134b46895b28613a080b371fe70e4b440a10eb3#diff-80716dbec75df699671148c08bb3eb80R25
-rw-r--r--main/go-bootstrap/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/go-bootstrap/APKBUILD b/main/go-bootstrap/APKBUILD
index eadad50f0..fc9d202da 100644
--- a/main/go-bootstrap/APKBUILD
+++ b/main/go-bootstrap/APKBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.2
pkgrel=1
pkgdesc="Go programming language compiler used for bootstraping"
url="http://www.golang.org/"
-arch="x86_64 armhf"
+arch="all"
license="BSD"
depends=""
depends_dev=""
@@ -24,6 +24,9 @@ source="
default-sc-getpw-r-size-max.patch
"
+# NOTE: building go-bootstrap for x86 with grsec kernel requires:
+# sysctl -w kernel.modify_ldt=1
+
_builddir="$srcdir"/$_realname
prepare() {
cd "$_builddir"