hanchenye-llvm-project/libunwind
Martin Storsjo f128f27874 [cmake] Add MINGW_LIBRARIES to the linker flags
This is essential when building with -nodefaultlibs.

In some CMake versions (noticed in 3.5.1), the same libraries are
picked up from CMAKE_REQUIRED_LIBRARIES in some exceptional situations
(if CXX probing failed, due to libc++ not being built yet, the libraries
from CMAKE_REQUIRED_LIBRARIES are used for linking the target library),
but not at all in other newer CMake versions (3.10).

This is similar to what already is done in libcxxabi in SVN r302760
and libcxx in SVN r312498.

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

llvm-svn: 339642
2018-08-14 06:13:36 +00:00
..
cmake [CMake] Convert paths to the right form in standalone builds on Windows 2018-06-20 20:53:19 +00:00
docs Update docs version and clear release notes after 8.0.0 version bump 2018-08-01 14:14:09 +00:00
include Remove unneeded preprocessor condition. 2018-08-08 15:18:22 +00:00
src [cmake] Add MINGW_LIBRARIES to the linker flags 2018-08-14 06:13:36 +00:00
test [libunwind] Permit additional compiler and linker flags to be passed to tests. 2018-02-27 18:40:04 +00:00
.arcconfig
.clang-format
CMakeLists.txt [CMake] Allow building standalone without any llvm-config available 2018-08-03 05:51:31 +00:00
LICENSE.TXT Update copyright year to 2018. 2018-06-18 12:22:17 +00:00