mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 09:19:51 +00:00
Rework to use local tarballs. Smaller and more stable. Build with cmake. Faster and simpler. Needs a small patch though. License was updated. Fixes CVE-2021-43521 Signed-off-by: Rosen Penev <rosenp@gmail.com>
11 lines
337 B
Diff
11 lines
337 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -25,7 +25,6 @@ SET(zlog_so_ver ${CPACK_PACKAGE_VERSION_
|
|
message(STATUS "plateform : ${CMAKE_SYSTEM}")
|
|
|
|
add_definitions("-g -Wall -Wstrict-prototypes")
|
|
-set(CMAKE_C_FLAGS "-std=c99 -pedantic -D_DEFAULT_SOURCE")
|
|
set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG")
|
|
set(CMAKE_C_FLAGS_RELEASE "-O2")
|
|
|