llvm-project/libcxxabi
Eric Fiselier ffd1893df5 [libcxxabi] Allow target flags to affect configuration tests.
Summary:
This patch changes the libc++abi CMake so that it adds certain target flags like  '-m32' or '--gcc-toolchain' before including `config-ix.cmake`.
Since these flags can affect things like `check_library_exists([...])` they needed to be added before the tests are performed.

Additionally this patch adds `LIBCXXABI_BUILD_32_BITS` which defaults to `LLVM_BUILD_32_BITS`.

This patch fixes:

https://llvm.org/bugs/show_bug.cgi?id=27950
https://llvm.org/bugs/show_bug.cgi?id=27959

Reviewers: danalbert, jroelofs, bcraig, compnerd, EricWF

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D20886

llvm-svn: 271470
2016-06-02 02:18:31 +00:00
..
cmake libc++abi: build with -fvisibility=hidden 2016-05-26 02:12:20 +00:00
include libc++abi: build with -fvisibility=hidden 2016-05-26 02:12:20 +00:00
lib Add ability to set OPTIONS for compile 2013-09-09 23:53:08 +00:00
src [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test [libcxxabi] Allow target flags to affect configuration tests. 2016-06-02 02:18:31 +00:00
www Update to new lists.llvm.org 2015-08-05 04:01:26 +00:00
.arcconfig Add an .arcconfig for libc++abi. 2014-10-17 16:48:56 +00:00
.gitignore .gitignore: ignore vim swap files 2015-12-04 02:15:02 +00:00
CMakeLists.txt [libcxxabi] Allow target flags to affect configuration tests. 2016-06-02 02:18:31 +00:00
CREDITS.TXT Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:47 +00:00