diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a15b99a..48dab4e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ if(UNIX) # APPLE, LINUX, FREE_BSD set (PCM_COMMON_FLAGS "-Wno-unknown-pragmas -fPIC") if(LINUX) - set (PCM_COMMON_FLAGS "${PCM_COMMON_FLAGS} -Wextra -DPCM_USE_PERF") + set (PCM_COMMON_FLAGS "${PCM_COMMON_FLAGS} -z,now -Wextra -DPCM_USE_PERF") if(NOT DEFINED LINUX_SYSTEMD) set(LINUX_SYSTEMD FALSE)