From bb3bf448f42c800a42a8d1708a8ea5a09fee9959 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 22 Oct 2026 10:48:20 +0800 Subject: [PATCH] xray-core: use selected Go toolchain for ARM64 EIP93 overlay Signed-off-by: coolsnowwolf --- xray-core/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xray-core/Makefile b/xray-core/Makefile index bb9e5e80..a61ff2c5 100644 --- a/xray-core/Makefile +++ b/xray-core/Makefile @@ -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