diff options
| author | Mitch Phillips <mitchphillips@outlook.com> | 2019-07-02 22:36:45 +0000 | 
|---|---|---|
| committer | Mitch Phillips <mitchphillips@outlook.com> | 2019-07-02 22:36:45 +0000 | 
| commit | aa141b6477d62aed0e039cd558ee4e45cc935562 (patch) | |
| tree | 2a7b2ab932699cf7e8bf912f58028a03c1eddbca | |
| parent | 89b658428bae3b749f174ca79f0fe390451d8f69 (diff) | |
| download | bcm5719-llvm-aa141b6477d62aed0e039cd558ee4e45cc935562.tar.gz bcm5719-llvm-aa141b6477d62aed0e039cd558ee4e45cc935562.zip | |
Attempt #2 to fix gcc builds. This time check
against CXX compiler ID instead of CRT test ID.
llvm-svn: 364975
| -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() | 

