We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b6584 commit aa141b6Copy full SHA for aa141b6
compiler-rt/lib/scudo/CMakeLists.txt
@@ -14,7 +14,7 @@ append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread SCUDO_MINIMAL_DYNAMIC_LIBS)
14
append_list_if(COMPILER_RT_HAS_LIBLOG log SCUDO_MINIMAL_DYNAMIC_LIBS)
15
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fno-omit-frame-pointer
16
SCUDO_CFLAGS)
17
-if (COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang")
+if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
18
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
19
-mno-omit-leaf-frame-pointer SCUDO_CFLAGS)
20
endif()
0 commit comments