diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-02 01:02:10 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-02 01:02:10 +0000 |
commit | 0447bde044ace6bbeda380c061ac859eaa3170fb (patch) | |
tree | 800ea78d1a7cb3af87d663f1125fe9823d28cb0e /libcxx/test/std/utilities/function.objects | |
parent | 01d91eeac55ff55a3e2fde4bb5ec105d8c2b406a (diff) | |
download | bcm5719-llvm-0447bde044ace6bbeda380c061ac859eaa3170fb.tar.gz bcm5719-llvm-0447bde044ace6bbeda380c061ac859eaa3170fb.zip |
[libunwind] Allow target flags to affect CMake configuration tests
Summary:
This patch changes the libunwind 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 LIBUNWIND_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: jroelofs, danalbert, bcraig, rmaprath, compnerd
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20889
llvm-svn: 271458
Diffstat (limited to 'libcxx/test/std/utilities/function.objects')
0 files changed, 0 insertions, 0 deletions