update 2024-12-02 14:18:31

This commit is contained in:
kenzok8 2024-12-02 14:18:31 +08:00
parent a3b4e303af
commit 9be5a1567d
1 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,7 @@ define Package/ua2f/config
config UA2F_DEBUG_BUILD
bool "Enable debug build"
depends on PACKAGE_ua2f
default n
default y
help
Enable this option to build UA2F with debug symbols and optimizations disabled.
endef
@ -60,6 +60,10 @@ CMAKE_OPTIONS += \
-DUA2F_USER_AGENT_STRING=$(CONFIG_UA2F_USER_AGENT_STRING) \
-DCMAKE_BUILD_TYPE=$(if $(CONFIG_UA2F_DEBUG_BUILD),Debug,Release)
ifeq ($(CONFIG_UA2F_DEBUG_BUILD),y)
PKG_BUILD_FLAGS += no-strip
endif
define Package/ua2f/description
Change User-agent to Fwords to prevent being checked by Dr.Com.
endef