mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/go to 1.10-1
This commit is contained in:
parent
eb5b4fef71
commit
dbae4e2cb1
2 changed files with 11 additions and 11 deletions
|
@ -8,7 +8,7 @@
|
||||||
pkgbase=go
|
pkgbase=go
|
||||||
pkgname=(go go-pie)
|
pkgname=(go go-pie)
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgver=1.9.4
|
pkgver=1.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='http://golang.org/'
|
url='http://golang.org/'
|
||||||
|
@ -16,8 +16,8 @@ license=(BSD)
|
||||||
makedepends=(git go)
|
makedepends=(git go)
|
||||||
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
|
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
|
||||||
default-buildmode-pie.patch)
|
default-buildmode-pie.patch)
|
||||||
sha256sums=('0573a8df33168977185aa44173305e5a0450f55213600e94541604b75d46dc06'
|
sha256sums=('f3de49289405fda5fd1483a8fe6bd2fa5469e005fd567df64485c4fa000c7f24'
|
||||||
'fd0055504e4175c1f444816636dfb53fc0ddee991fa2696bb64b087130bba96d')
|
'9d2f0d201d4e002d74f548cc82bd131139bab5dd62191004c71dd430fdc1666d')
|
||||||
|
|
||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
case "$CARCH" in
|
case "$CARCH" in
|
||||||
|
@ -45,10 +45,10 @@ build() {
|
||||||
export GOBIN="$GOROOT/bin"
|
export GOBIN="$GOROOT/bin"
|
||||||
|
|
||||||
cd "$srcdir/$_pkgname/src"
|
cd "$srcdir/$_pkgname/src"
|
||||||
./make.bash --no-clean
|
./make.bash --no-clean -v
|
||||||
|
|
||||||
PATH="$GOBIN:$PATH" go install -buildmode=shared std
|
PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
|
||||||
#PATH="$GOBIN:$PATH" go install -race std
|
#PATH="$GOBIN:$PATH" go install -v -race std
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
|
diff --git a/src/cmd/go/internal/work/init.go b/src/cmd/go/internal/work/init.go
|
||||||
index 9a1204866e..8b41832ae2 100644
|
index 7f894f5..a517887 100644
|
||||||
--- a/src/cmd/go/internal/work/build.go
|
--- a/src/cmd/go/internal/work/init.go
|
||||||
+++ b/src/cmd/go/internal/work/build.go
|
+++ b/src/cmd/go/internal/work/init.go
|
||||||
@@ -304,7 +304,8 @@ func BuildModeInit() {
|
@@ -111,7 +111,8 @@ func buildModeInit() {
|
||||||
ldBuildmode = "c-shared"
|
ldBuildmode = "c-shared"
|
||||||
case "default":
|
case "default":
|
||||||
switch platform {
|
switch platform {
|
||||||
|
|
Loading…
Reference in a new issue