Revert: [compiler-rt] r323626 - [cmake] [compiler-rt] Remove duplicate CMAKE_CXX_FLAGS.

Looks like it broke a bot: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/7195
Reverting until I have a chance to investigate.

llvm-svn: 323629
This commit is contained in:
Don Hinton 2018-01-29 05:32:21 +00:00
parent c8e9245816
commit 23743f48fa
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ function(add_compiler_rt_object_libraries name)
endif()
set_target_compile_flags(${libname}
${extra_cflags_${libname}} ${target_flags})
${CMAKE_CXX_FLAGS} ${extra_cflags_${libname}} ${target_flags})
set_property(TARGET ${libname} APPEND PROPERTY
COMPILE_DEFINITIONS ${LIB_DEFS})
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Libraries")