Skip to content
Snippets Groups Projects
Commit a40bf2a6 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Merge branch 'module-install-changes' into userspace-shmem

parents ab2896b3 56648b5b
No related branches found
No related tags found
3 merge requests!439RCG 5.0 release fro deb 10,!387Merge master branch into debian packaging branch,!370shmem instead of findsharedmemory, and allow force posix shmem build option
...@@ -22,6 +22,10 @@ if(${USE_STDLIB_MATH}) ...@@ -22,6 +22,10 @@ if(${USE_STDLIB_MATH})
list(APPEND CFLAGS "-DUSE_STDLIB_MATH=1") list(APPEND CFLAGS "-DUSE_STDLIB_MATH=1")
endif() endif()
if(${DEFAULT_TO_SHMEM_BUFFERS})
list(APPEND CFLAGS "-DDEFAULT_TO_SHMEM_BUFFERS=1")
endif()
# Turn the ; seperated list into space seperated list and add to CFLAGS # Turn the ; seperated list into space seperated list and add to CFLAGS
string(REPLACE ";" " " CFLAGS_SPACE_SEPERATED "${CFLAGS}") string(REPLACE ";" " " CFLAGS_SPACE_SEPERATED "${CFLAGS}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CFLAGS_SPACE_SEPERATED}" ) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CFLAGS_SPACE_SEPERATED}" )
......
...@@ -7,6 +7,7 @@ extern "C" { ...@@ -7,6 +7,7 @@ extern "C" {
void intHandler( int dummy ); void intHandler( int dummy );
int attach_shared_memory( const char* sysname ); int attach_shared_memory( const char* sysname );
void detach_shared_memory();
#ifdef __cplusplus #ifdef __cplusplus
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment