mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update golang and v2ray
This commit is contained in:
parent
62584c32ce
commit
cac91f628b
8 changed files with 457 additions and 25 deletions
|
@ -246,12 +246,10 @@ define GoPackage/Build/Compile
|
|||
mips|mipsle) installsuffix="-installsuffix $(GO_MIPS)" ;; \
|
||||
mips64|mips64le) installsuffix="-installsuffix $(GO_MIPS64)" ;; \
|
||||
esac ; \
|
||||
trimpath="all=-trimpath=$(GO_PKG_BUILD_DIR)" ; \
|
||||
ldflags="all=-linkmode external -extldflags '$(TARGET_LDFLAGS)'" ; \
|
||||
go install \
|
||||
$$$$installsuffix \
|
||||
-gcflags "$$$$trimpath" \
|
||||
-asmflags "$$$$trimpath" \
|
||||
-trimpath \
|
||||
-ldflags "$$$$ldflags" \
|
||||
-v \
|
||||
$(1) \
|
||||
|
|
|
@ -25,6 +25,7 @@ unexport \
|
|||
CC_FOR_TARGET CXX_FOR_TARGET GO_DISTFLAGS GO_GCFLAGS GO_LDFLAGS GOBUILDTIMELOGFILE GOROOT_BOOTSTRAP \
|
||||
BOOT_GO_GCFLAGS GOEXPERIMENT GOBOOTSTRAP_TOOLEXEC
|
||||
# there are more magic environment variables to track down, but ain't nobody got time for that
|
||||
# deliberately left untouched: GOPROXY GONOPROXY GOSUMDB GONOSUMDB GOPRIVATE
|
||||
|
||||
go_arch=$(subst \
|
||||
aarch64,arm64,$(subst \
|
||||
|
|
|
@ -10,5 +10,5 @@ ifeq ($(origin GO_INCLUDE_DIR),undefined)
|
|||
endif
|
||||
|
||||
|
||||
GO_VERSION_MAJOR_MINOR:=1.12
|
||||
GO_VERSION_PATCH:=7
|
||||
GO_VERSION_MAJOR_MINOR:=1.13
|
||||
GO_VERSION_PATCH:=4
|
||||
|
|
|
@ -18,7 +18,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \
|
|||
|
||||
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz
|
||||
PKG_SOURCE_URL:=$(GO_SOURCE_URLS)
|
||||
PKG_HASH:=95e8447d6f04b8d6a62de1726defbb20ab203208ee167ed15f83d7978ce43b13
|
||||
PKG_HASH:=95dbeab442ee2746b9acf0934c8e2fc26414a0565c008631b04addb8c02e7624
|
||||
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue