From: Evgeniy Stepanov Date: Thu, 15 Jan 2015 16:31:22 +0000 (+0000) Subject: [sanitizer] Restore -fno-lto accidentally removed in r226169. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c9a0708a05bf84b593c11d0224afb088e5bb7db;p=platform%2Fupstream%2Fllvm.git [sanitizer] Restore -fno-lto accidentally removed in r226169. llvm-svn: 226177 --- diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index f79e7db..f8f5263 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -234,7 +234,7 @@ append_list_if(COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -funwind-tables SANITIZER_COM append_list_if(COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -fno-stack-protector SANITIZER_COMMON_CFLAGS) append_list_if(COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -fvisibility=hidden SANITIZER_COMMON_CFLAGS) append_list_if(COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -fno-function-sections SANITIZER_COMMON_CFLAGS) -# append_list_if(COMPILER_RT_HAS_FNO_LTO_FLAG -fno-lto SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FNO_LTO_FLAG -fno-lto SANITIZER_COMMON_CFLAGS) if(MSVC) # Replace the /MD[d] flags with /MT.