mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-03-13 22:12:41 +03:00
makefile: Add option --catch-sigsegv for UPX
src: https://github.com/upx/upx/issues/911#issuecomment-3362426407
This commit is contained in:
@@ -170,7 +170,7 @@ define Build/Compile
|
||||
ifeq ($(USE_UPX),1)
|
||||
@if [ -x "$(UPX_BIN)" ]; then \
|
||||
echo "Packing nfqws2 with UPX"; \
|
||||
$(UPX_BIN) --best --lzma --strip-relocs=0 $(PKG_BUILD_DIR)/$(MAKE_PATH)/nfqws2; \
|
||||
$(UPX_BIN) --best --lzma --strip-relocs=0 --catch-sigsegv $(PKG_BUILD_DIR)/$(MAKE_PATH)/nfqws2; \
|
||||
else \
|
||||
echo "WARNING: UPX not found, skipping packing"; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user