xray-core: use selected Go toolchain for ARM64 EIP93 overlay

Signed-off-by: coolsnowwolf <coolsnowwolf@gmail.com>
This commit is contained in:
coolsnowwolf committed 2026-10-22 10:48:20 +08:00
1 parent 676e99c921
commit bb3bf448f4
1 file changed
+3 -2
+3 -2
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xray-core
PKG_VERSION:=26.10.21
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)?
@@ -60,9 +60,10 @@ ifeq ($(CONFIG_XRAY_CORE_NAIVE),y)
endif
# Apply only to this package; runtime DT detection restricts use to AN7581.
# Resolve Go through the same versioned PATH and environment as the build.
ifeq ($(GO_ARCH),arm64)
define Build/Compile
python3 $(PKG_BUILD_DIR)/tools/eip93/overlay.py --go $(STAGING_DIR_HOSTPKG)/bin/go --out $(PKG_BUILD_DIR)/.eip93-overlay
$(GO_PKG_VARS) python3 $(PKG_BUILD_DIR)/tools/eip93/overlay.py --go go --out $(PKG_BUILD_DIR)/.eip93-overlay
$(call GoPackage/Build/Compile,-overlay=$(PKG_BUILD_DIR)/.eip93-overlay/overlay.json)
endef
endif