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

Don Hinton via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 28 21:32:21 PST 2018


Author: dhinton
Date: Sun Jan 28 21:32:21 2018
New Revision: 323629

URL: http://llvm.org/viewvc/llvm-project?rev=323629&view=rev
Log:
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.

Modified:
    compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake

Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=323629&r1=323628&r2=323629&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Sun Jan 28 21:32:21 2018
@@ -64,7 +64,7 @@ function(add_compiler_rt_object_librarie
     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")




More information about the llvm-commits mailing list