This patch allows correct selection of CMAKE_LIBRARY_ARCHITECTURE instead of previously hard-coded value.
All cross builds for 64bit targets with python support enabled will fail in absence of this patch
I am trying to get LLDB host build working on AArch64 native host running ubuntu Xenial 64bit.
My build system is ubuntu 16.04 amd64.
I am able to build LLDB successfully on Ubuntu Trusty 14.04 and 16.04 after applying this patch.
Please review if there are any possible build breakups due to this patch.