forked from OSchip/llvm-project
[dfsan] Use append_no_rtti_flag instead of manually specifying -fno-rtti.
llvm-svn: 226435
This commit is contained in:
parent
c3168129af
commit
0540f4141f
|
@ -5,7 +5,8 @@ set(DFSAN_RTL_SOURCES
|
|||
dfsan.cc
|
||||
dfsan_custom.cc
|
||||
dfsan_interceptors.cc)
|
||||
set(DFSAN_COMMON_CFLAGS ${SANITIZER_COMMON_CFLAGS} -fno-rtti)
|
||||
set(DFSAN_COMMON_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
||||
append_no_rtti_flag(DFSAN_COMMON_CFLAGS)
|
||||
# Prevent clang from generating libc calls.
|
||||
append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding DFSAN_COMMON_CFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue