mirror of
https://github.com/Zxilly/UA2F.git
synced 2026-01-08 19:33:11 +00:00
fix: workaround gcc issue
This commit is contained in:
parent
e0cbd332f7
commit
4da844acdd
@ -91,9 +91,6 @@ else ()
|
||||
message(STATUS "AddressSanitizer is disabled.")
|
||||
endif ()
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-gc-sections")
|
||||
|
||||
if (UA2F_CUSTOM_USER_AGENT)
|
||||
if (NOT UA2F_USER_AGENT_STRING)
|
||||
message(FATAL_ERROR "UA2F_USER_AGENT_STRING is not set")
|
||||
@ -112,7 +109,6 @@ add_executable(ua2f
|
||||
src/util.c
|
||||
src/cache.c
|
||||
src/handler.c
|
||||
src/cli.c
|
||||
src/config.c
|
||||
src/third/nfqueue-mnl.c)
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=UA2F
|
||||
PKG_VERSION:=4.9.5
|
||||
PKG_VERSION:=4.9.6
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-only
|
||||
|
||||
Loading…
Reference in New Issue
Block a user