From: George Sapkin Date: Mon, 10 Aug 2026 15:31:59 +0000 (+0300) Subject: golang: fix target binary stripping X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=591422e869075989673c1d78b10f0898098d53b3;p=openwrt-packages.git golang: fix target binary stripping Fix stripping when using previous version as a bootstrap. Fixes: 5657eb0e2 ("golang: split src into separate packages") Signed-off-by: George Sapkin --- diff --git a/lang/golang/golang-version.mk b/lang/golang/golang-version.mk index 4bcc5dc79..6bcdd2c96 100644 --- a/lang/golang/golang-version.mk +++ b/lang/golang/golang-version.mk @@ -22,7 +22,7 @@ PKG_UNPACK:=$(HOST_TAR) -C "$(PKG_BUILD_DIR)" --strip-components=1 -xzf "$(DL_DI HOST_UNPACK:=$(HOST_TAR) -C "$(HOST_BUILD_DIR)" --strip-components=1 -xzf "$(DL_DIR)/$(PKG_SOURCE)" # Don't strip ELF executables in test data -RSTRIP:=$(subst $(SCRIPT_DIR)/rstrip.sh,go-strip-helper $(SCRIPT_DIR)/rstrip.sh,$(RSTRIP)) +RSTRIP:=$(subst $(SCRIPT_DIR)/rstrip.sh,../go-strip-helper $(SCRIPT_DIR)/rstrip.sh,$(RSTRIP)) ifeq ($(GO_TARGET_SPECTRE_SUPPORTED),1) PKG_CONFIG_DEPENDS+=CONFIG_GOLANG_SPECTRE