Skip to content

Commit 4da844a

Browse files
committed
fix: workaround gcc issue
1 parent e0cbd33 commit 4da844a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ else ()
9191
message(STATUS "AddressSanitizer is disabled.")
9292
endif ()
9393

94-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
95-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-gc-sections")
96-
9794
if (UA2F_CUSTOM_USER_AGENT)
9895
if (NOT UA2F_USER_AGENT_STRING)
9996
message(FATAL_ERROR "UA2F_USER_AGENT_STRING is not set")
@@ -112,7 +109,6 @@ add_executable(ua2f
112109
src/util.c
113110
src/cache.c
114111
src/handler.c
115-
src/cli.c
116112
src/config.c
117113
src/third/nfqueue-mnl.c)
118114

Diff for: openwrt/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=UA2F
4-
PKG_VERSION:=4.9.5
4+
PKG_VERSION:=4.9.6
55
PKG_RELEASE:=1
66

77
PKG_LICENSE:=GPL-3.0-only

0 commit comments

Comments
 (0)