From f8d46a75cf354402b88b7e76f9f73942d3b4882d Mon Sep 17 00:00:00 2001 From: remittor Date: Thu, 12 Feb 2026 16:00:13 +0300 Subject: [PATCH] makefile: Disable strip --- zapret2/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zapret2/Makefile b/zapret2/Makefile index 321ad80..c1ca9af 100644 --- a/zapret2/Makefile +++ b/zapret2/Makefile @@ -138,6 +138,8 @@ MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) -DZAPRET_GH_VER=$(PKG_VERSION) -DZAPRET_GH_HASH=$(PKG_SOURCE_VERSION)" \ LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" +RSTRIP:=: + define Build/Compile if [ "$(LUA_JIT)" = 1 ]; then \ $(MAKE) $(PKG_JOBS) -C $(LUASRC_DIR) \ @@ -168,7 +170,7 @@ define Build/Compile ifeq ($(USE_UPX),1) @if [ -x "$(UPX_BIN)" ]; then \ echo "Packing nfqws2 with UPX"; \ - $(UPX_BIN) --best --lzma $(PKG_BUILD_DIR)/$(MAKE_PATH)/nfqws2; \ + $(UPX_BIN) --best --lzma --strip-relocs=0 $(PKG_BUILD_DIR)/$(MAKE_PATH)/nfqws2; \ else \ echo "WARNING: UPX not found, skipping packing"; \ fi