[PATCH] D42398: [cmake] [compiler-rt] Remove duplicate CMAKE_CXX_FLAGS.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 28 21:08:59 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL323626: [cmake] [compiler-rt] Remove duplicate CMAKE_CXX_FLAGS. (authored by dhinton, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D42398

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
@@ -64,7 +64,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: D42398.131743.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180129/98da727f/attachment.bin>


More information about the llvm-commits mailing list