llvm-project/compiler-rt/cmake
Dan Albert 98a6692380 [compiler-rt] Don't explicitly set CMAKE_CXX_FLAGS.
Summary:
C++ flags should not be used for not-C++ files as it may trigger
-Werror=unused-command-line-argument. CMake will use CMAKE_C_FLAGS,
CMAKE_CXX_FLAGS, and CMAKE_ASM_FLAGS as appropriate implicitly, so
this does not need to be explicitly handled here.

This change depends on https://reviews.llvm.org/D53301, since one of
the builders depended on this behavior because it was not configuring
CMAKE_ASM_FLAGS.

Reviewers: eugenis, vitalybuka

Reviewed By: eugenis, vitalybuka

Subscribers: dberris, mgorny, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D53335

llvm-svn: 344751
2018-10-18 18:04:28 +00:00
..
Modules [compiler-rt] Don't explicitly set CMAKE_CXX_FLAGS. 2018-10-18 18:04:28 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [compiler-rt][cmake][mips] Use -mabi option to select target architecture 2018-09-27 07:17:00 +00:00
builtin-config-ix.cmake [macOS] stop generating the libclang_rt.10.4.a library for macOS 10.4 2018-08-08 17:29:55 +00:00
config-ix.cmake [Esan] Port cache frag to FreeBSD 2018-10-04 20:58:18 +00:00