llvm-project/compiler-rt/cmake
Jonas Hahnfeld b297841572 [CMake] Rename back SIMPLE_SOURCE to compile as C++
This was changed in rL276151 and causes problems if the C++ compiler does not
support the same arches as the C compiler.
For the builtins, only the C compiler is tested in try_compile_only.

Additionally, -fno-exceptions is passed in (if available) to work around
the case where no libunwind is available.

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

llvm-svn: 282054
2016-09-21 05:44:06 +00:00
..
Modules [CMake] Rename back SIMPLE_SOURCE to compile as C++ 2016-09-21 05:44:06 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [compiler-rt] Fix library suffixes on windows 2016-09-07 20:32:48 +00:00
builtin-config-ix.cmake [compiler-rt] Use flags found when configuring builtins during compilation 2016-08-22 20:33:47 +00:00
config-ix.cmake [CMake] Rename back SIMPLE_SOURCE to compile as C++ 2016-09-21 05:44:06 +00:00