diff options
author | A. Maitland Bottoms <bottoms@debian.org> | 2018-03-27 12:51:17 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-03-27 16:58:41 +0200 |
commit | 53d831638f54592e04ffa82c272e3c9f19487fc0 (patch) | |
tree | 8e5fa73b86b7da50da009c19f9509770f264420d /gnuradio-runtime/lib | |
parent | 50d8234d0c45132089d9cb0bee0eff1335a122fd (diff) |
runtime: BSD shared memory and threading specifics
From the debian patch set
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gnuradio-runtime/lib/thread/thread.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/CMakeLists.txt b/gnuradio-runtime/lib/CMakeLists.txt index 1180ebec72..466b29a527 100644 --- a/gnuradio-runtime/lib/CMakeLists.txt +++ b/gnuradio-runtime/lib/CMakeLists.txt @@ -148,7 +148,7 @@ IF(HAVE_WINDOWS_H) ENDIF(HAVE_WINDOWS_H) #need to link with librt on ubuntu 11.10 for shm_* -if(LINUX) +if((LINUX) OR (CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")) list(APPEND gnuradio_runtime_libs rt) endif() diff --git a/gnuradio-runtime/lib/thread/thread.cc b/gnuradio-runtime/lib/thread/thread.cc index f2606c71ae..4db91d4dbe 100644 --- a/gnuradio-runtime/lib/thread/thread.cc +++ b/gnuradio-runtime/lib/thread/thread.cc @@ -166,7 +166,7 @@ namespace gr { #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || \ - defined(__FreeBSD__) + defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__GNU__) namespace gr { namespace thread { |