commit | 80d87f6ff34b8f48a40a7a716f021460069c528f | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Mon Jun 06 05:54:55 2016 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Mon Jun 06 05:54:55 2016 +0000 |
tree | 155a814895af4c8c586fefa56dacbb5fa77158a2 | |
parent | 856b53e00687d41a8c6896930275b60abde8221a [diff] |
LLVM_BUILD_32_BITS: Add -m32 with CMAKE_C*_FLAGS. [CMP0056] With CMP0056, try_compile() uses also CMAKE_EXE_LINKER_FLAG. It caused mismatch between CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS, to fail to examine CXX_SUPPORTS_CXX11 with -m32. FYI, before this, try_compile() tries without -m32 regardless of LLVM_BUILD_32_BITS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271871 91177308-0d34-0410-b5e6-96231b3b80d8