[PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 1 16:15:59 PDT 2016
EricWF created this revision.
EricWF added reviewers: danalbert, jroelofs, bcraig, compnerd.
EricWF added a subscriber: cfe-commits.
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
http://reviews.llvm.org/D20886
Files:
CMakeLists.txt
test/CMakeLists.txt
test/lit.site.cfg.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20886.59299.patch
Type: text/x-patch
Size: 4224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160601/b48df896/attachment.bin>
More information about the cfe-commits
mailing list