diff options
| -rw-r--r-- | compiler-rt/lib/scudo/CMakeLists.txt | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler-rt/lib/scudo/CMakeLists.txt b/compiler-rt/lib/scudo/CMakeLists.txt index 74bbaff9b9d..9ee615c787d 100644 --- a/compiler-rt/lib/scudo/CMakeLists.txt +++ b/compiler-rt/lib/scudo/CMakeLists.txt @@ -14,7 +14,7 @@ append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread SCUDO_MINIMAL_DYNAMIC_LIBS)  append_list_if(COMPILER_RT_HAS_LIBLOG log SCUDO_MINIMAL_DYNAMIC_LIBS)  append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fno-omit-frame-pointer                 SCUDO_CFLAGS) -if (COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang") +if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")    append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG                   -mno-omit-leaf-frame-pointer SCUDO_CFLAGS)  endif() | 

