diff --git a/compiler-rt/lib/xray/CMakeLists.txt b/compiler-rt/lib/xray/CMakeLists.txt index 17dc356a254f..3798f557c42c 100644 --- a/compiler-rt/lib/xray/CMakeLists.txt +++ b/compiler-rt/lib/xray/CMakeLists.txt @@ -132,13 +132,6 @@ endforeach() include_directories(..) include_directories(../../include) -if(COMPILER_RT_USE_LIBCXX) - if (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libc++") - if (HAVE_LIBCXX) - set(SANITIZER_COMMON_CFLAGS "${SANITIZER_COMMON_CFLAGS} -isystem ${COMPILER_RT_LIBCXX_PATH}/include") - endif() - endif() -endif() set(XRAY_CFLAGS ${SANITIZER_COMMON_CFLAGS}) set(XRAY_COMMON_DEFINITIONS XRAY_HAS_EXCEPTIONS=1)