mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 15:08:40 +01:00
rtl_433: Update to 18.12
Added a patch to fix compilation under uClibc-ng. Reorganized Makefile for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -50,7 +50,7 @@ if (("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" MATCHES
|
||||
ADD_DEFINITIONS(-std=c99)
|
||||
ADD_DEFINITIONS(-pedantic)
|
||||
# for strdup, setenv
|
||||
- ADD_DEFINITIONS(-D_POSIX_C_SOURCE=200809)
|
||||
+ ADD_DEFINITIONS(-D_GNU_SOURCE)
|
||||
#http://gcc.gnu.org/wiki/Visibility
|
||||
add_definitions(-fvisibility=hidden)
|
||||
|
||||
Reference in New Issue
Block a user