[PATCH] D53335: [compiler-rt] Don't explicitly set CMAKE_CXX_FLAGS.

Dan Albert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 18 11:06:37 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344751: [compiler-rt] Don't explicitly set CMAKE_CXX_FLAGS. (authored by danalbert, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D53335

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


Index: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
===================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
@@ -77,7 +77,7 @@
     endif()
 
     set_target_compile_flags(${libname}
-      ${CMAKE_CXX_FLAGS} ${extra_cflags_${libname}} ${target_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")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53335.170105.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181018/717b2c07/attachment.bin>


More information about the llvm-commits mailing list