Appending COMPILER_RT_LIBCXX_PATH include path to -isystem for compiler-rt xray
Haven't found a better way to pass the libcxx include path for building compiler-rt with libcxx; this seems to be missing only for xray. Differential Revision: https://reviews.llvm.org/D65307 llvm-svn: 367239
This commit is contained in:
parent
a8ea595509
commit
ba7b7f1de4
|
@ -118,6 +118,9 @@ endforeach()
|
|||
include_directories(..)
|
||||
include_directories(../../include)
|
||||
|
||||
if(COMPILER_RT_USE_LIBCXX)
|
||||
set(SANITIZER_COMMON_CFLAGS "${SANITIZER_COMMON_CFLAGS} -isystem ${COMPILER_RT_LIBCXX_PATH}/include")
|
||||
endif()
|
||||
set(XRAY_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
||||
set(XRAY_COMMON_DEFINITIONS XRAY_HAS_EXCEPTIONS=1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue