Index: roctracer-rocm-4.3.0/cmake_modules/env.cmake
===================================================================
--- roctracer-rocm-4.3.0.orig/cmake_modules/env.cmake
+++ roctracer-rocm-4.3.0/cmake_modules/env.cmake
@@ -51,7 +51,7 @@ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS
 set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fmerge-all-constants" )
 set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" )
 
-set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bdynamic -Wl,-z,noexecstack" )
+set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bdynamic -Wl,-z,noexecstack" )
 
 set ( CMAKE_SKIP_BUILD_RPATH TRUE )
 
