commit | 046d2fc30376467767d0373a4628df89745600ef | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Thu Jun 02 02:18:31 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Thu Jun 02 02:18:31 2016 +0000 |
tree | bd7b7b795587e575c0452f8918e588a2e9d91d81 | |
parent | a0d7e1aca2bcd0d3ed7c8946fc809a0c8d993f82 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@271470 91177308-0d34-0410-b5e6-96231b3b80d8