From dcf3a9a82ef4c24396ce82f1817d510709e0f764 Mon Sep 17 00:00:00 2001 From: opcm Date: Mon, 4 Mar 2024 13:16:14 +0100 Subject: [PATCH] -Wl,-z,now --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48dab4e8..84e6af68 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} -z,now -Wextra -DPCM_USE_PERF") + set (PCM_COMMON_FLAGS "${PCM_COMMON_FLAGS} -Wl,-z,now -Wextra -DPCM_USE_PERF") if(NOT DEFINED LINUX_SYSTEMD) set(LINUX_SYSTEMD FALSE)