golang: Update from 1.7 to 1.7.1

This commit is contained in:
Fredrik Fornwall 2016-09-09 09:36:53 -04:00
parent 9d6bb14e08
commit b9a198c812
2 changed files with 4 additions and 4 deletions

View File

@ -524,7 +524,7 @@ termux_setup_golang () {
exit 1 exit 1
fi fi
local TERMUX_GO_VERSION=go1.7 local TERMUX_GO_VERSION=go1.7.1
local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_GO_PLATFORM=linux-amd64
test `uname` = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64 test `uname` = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64

View File

@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_HOMEPAGE=https://golang.org/
TERMUX_PKG_DESCRIPTION="Go programming language compiler" TERMUX_PKG_DESCRIPTION="Go programming language compiler"
_MAJOR_VERSION=1.7 _MAJOR_VERSION=1.7.1
# Use the ~ deb versioning construct in the future: # Use the ~ deb versioning construct in the future:
TERMUX_PKG_VERSION=2:${_MAJOR_VERSION} TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz
TERMUX_PKG_SHA256=2b843f133b81b7995f26d0cb64bbdbb9d0704b90c44df45f844d28881ad442d3
TERMUX_PKG_FOLDERNAME=go TERMUX_PKG_FOLDERNAME=go
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true TERMUX_PKG_KEEP_STATIC_LIBRARIES=true
TERMUX_PKG_DEPENDS="clang" TERMUX_PKG_DEPENDS="clang"
@ -23,7 +23,7 @@ termux_step_make_install () {
CC=gcc \ CC=gcc \
GO_LDFLAGS="-extldflags=-pie" \ GO_LDFLAGS="-extldflags=-pie" \
GOROOT_BOOTSTRAP=$GOROOT \ GOROOT_BOOTSTRAP=$GOROOT \
GOROOT_FINAL=$TERMUX_GODIR \ GOROOT_FINAL=$TERMUX_GODIR \
./make.bash ./make.bash
cd .. cd ..