golang: Update from 1.7 to 1.7.1
This commit is contained in:
parent
9d6bb14e08
commit
b9a198c812
@ -524,7 +524,7 @@ termux_setup_golang () {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local TERMUX_GO_VERSION=go1.7
|
||||
local TERMUX_GO_VERSION=go1.7.1
|
||||
local TERMUX_GO_PLATFORM=linux-amd64
|
||||
test `uname` = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://golang.org/
|
||||
TERMUX_PKG_DESCRIPTION="Go programming language compiler"
|
||||
_MAJOR_VERSION=1.7
|
||||
_MAJOR_VERSION=1.7.1
|
||||
# Use the ~ deb versioning construct in the future:
|
||||
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_SHA256=2b843f133b81b7995f26d0cb64bbdbb9d0704b90c44df45f844d28881ad442d3
|
||||
TERMUX_PKG_FOLDERNAME=go
|
||||
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true
|
||||
TERMUX_PKG_DEPENDS="clang"
|
||||
@ -23,7 +23,7 @@ termux_step_make_install () {
|
||||
CC=gcc \
|
||||
GO_LDFLAGS="-extldflags=-pie" \
|
||||
GOROOT_BOOTSTRAP=$GOROOT \
|
||||
GOROOT_FINAL=$TERMUX_GODIR \
|
||||
GOROOT_FINAL=$TERMUX_GODIR \
|
||||
./make.bash
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user