]> git.99rst.org Git - openwrt-packages.git/commitdiff
golang: fix target binary stripping
authorGeorge Sapkin <redacted>
Mon, 10 Aug 2026 15:31:59 +0000 (18:31 +0300)
committerGeorge Sapkin <redacted>
Sun, 23 Aug 2026 16:48:33 +0000 (19:48 +0300)
Fix stripping when using previous version as a bootstrap.

Fixes: 5657eb0e2 ("golang: split src into separate packages")
Signed-off-by: George Sapkin <redacted>
lang/golang/golang-version.mk

index 4bcc5dc79123f23b070f8cceec76f0132ca14c31..6bcdd2c961b6a4606ca6d97bb328437b0ee16b99 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT