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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue