iglunix/pkgs/libnl-tiny/cmake-no-extra-errs.patch

12 lines
327 B
Diff
Raw Normal View History

2021-04-10 10:01:16 +00:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@
INCLUDE_DIRECTORIES(include)
-ADD_DEFINITIONS(-Wall -Werror -Wextra -Wno-unused-parameter)
+#ADD_DEFINITIONS(-Wall -Werror -Wextra -Wno-unused-parameter)
STRING(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
ADD_LIBRARY(nl-tiny SHARED