diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-13 15:20:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-13 15:20:34 +0000 |
commit | b63af710f28488e8ed7dec4c38c79f2964c02bb1 (patch) | |
tree | 30dd01f1165dc97fb484da135b239b54bb000835 /community/go-bootstrap/APKBUILD | |
parent | 68bf7a0f48b3cebd0deea7f6990def04540a583f (diff) | |
download | aports-b63af710f28488e8ed7dec4c38c79f2964c02bb1.tar.bz2 aports-b63af710f28488e8ed7dec4c38c79f2964c02bb1.tar.xz |
community/go-bootstrap: fix build against binutils-2.26
Upstream: https://github.com/golang/go/issues/13114
Diffstat (limited to 'community/go-bootstrap/APKBUILD')
-rw-r--r-- | community/go-bootstrap/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/go-bootstrap/APKBUILD b/community/go-bootstrap/APKBUILD index a9fbc42dda..f106d36b46 100644 --- a/community/go-bootstrap/APKBUILD +++ b/community/go-bootstrap/APKBUILD @@ -4,7 +4,7 @@ pkgname=go-bootstrap _realname="${pkgname%-*}" pkgver=1.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="Go programming language compiler used for bootstraping" url="http://www.golang.org/" arch="all" @@ -21,6 +21,7 @@ source=" no-longjmp-redefine.patch fix-arm-hackery.patch default-sc-getpw-r-size-max.patch + new-binutils.patch " # NOTE: building go-bootstrap for x86 with grsec kernel requires: @@ -44,6 +45,8 @@ build() { export GOBIN="$GOROOT"/bin export GOROOT_FINAL=/usr/lib/$pkgname + export CGO_ENABLED=0 + case "$CARCH" in x86) export GOARCH="386" ;; x86_64) export GOARCH="amd64" ;; @@ -79,14 +82,17 @@ md5sums="dfb604511115dd402a77a553a5923a04 go1.4.3.src.tar.gz 4391be88ce8bacdd7fee433b39635583 no-pic.patch 93ad940db4a6d51e086f80755eaa8f53 no-longjmp-redefine.patch 81ac9f3188df7a0c16c52cc4d8cc1ffa fix-arm-hackery.patch -fd4d1a7ccb5d37da4ff9c3a2d97aa976 default-sc-getpw-r-size-max.patch" +fd4d1a7ccb5d37da4ff9c3a2d97aa976 default-sc-getpw-r-size-max.patch +baa3df0785a1d9981ea92872360a19a6 new-binutils.patch" sha256sums="9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959 go1.4.3.src.tar.gz 86fc68a50bc4a9336a003239adf1dcc6d7cabfb9c1bcf09b0d53d09100ceff12 no-pic.patch 084020e0eb6cb0aceee047bd5962872ed51dbb45465174018d108eb195c26605 no-longjmp-redefine.patch fced8436d9c32a43a5cc87f2243529e7a8209ba73a9afd4fd7733245bc55e4e3 fix-arm-hackery.patch -3757d5f7c4e6d3b2fed4b01c7da6e3e8c0b7789333219ab10ec0b151fb163980 default-sc-getpw-r-size-max.patch" +3757d5f7c4e6d3b2fed4b01c7da6e3e8c0b7789333219ab10ec0b151fb163980 default-sc-getpw-r-size-max.patch +07c22d9241f1f669c9390b08a8e4ef9f94d17387512393afff3f116347c159e0 new-binutils.patch" sha512sums="12bade4bce9aa4b34e2b9495ae65a1fc6a2449b3a43bc4de85c8b87ba223c2f999b2f37c1e2fe1188d8521118b5e5357d27afb8b85c0b8ebb4503d4125d25273 go1.4.3.src.tar.gz a8e95c3c536a30e15b9bad5e623a085c521739639a58ac638679d99413a1bee8823729783123cbe4495ac42822df31f4776f0380a63786b9f4fc73190e012ae5 no-pic.patch 3a9b665f8fda89729c4c269ea82f82ee515f0026d26f1d51e2cf84054456e394afc14875e7ed29280a12488907d50c70af313e2e4a5b62c328bbade098db9d4d no-longjmp-redefine.patch 573146b72c980af5e41540fd7912b5579b050e41ac9d808e8d14268cf0a0fa1a70e6fade85011c0f18f1a428bc95b225d8b8345be1c50656dc69046ef1eb0b40 fix-arm-hackery.patch -5de9747fe60bbc60aa8ac9870f397fa8750723f919fea25a6afc22066be45a8ad193f7935d3deacbe85c032be89b8ace0a7e82b6c9981ddaf3b7f6e8d140c61f default-sc-getpw-r-size-max.patch" +5de9747fe60bbc60aa8ac9870f397fa8750723f919fea25a6afc22066be45a8ad193f7935d3deacbe85c032be89b8ace0a7e82b6c9981ddaf3b7f6e8d140c61f default-sc-getpw-r-size-max.patch +9c25d58d8172ade339d468b86b51a2ad964bf1a2e80d917934f318a78b9e5820f261d4742afec467ef567a905039184829c449ee9ac8f08385029d130badaebf new-binutils.patch" |