llvm.org GIT mirror llvm / e612411
[CMake] Add LLVM_BUILD_32_BITS to LLVMConfig.cmake Previously out-of-tree passes could detect if LLVM was built with LLVM_BUILD_32_BITS by looking for -m32 in LLVM_DEFINITIONS, but as of r271871 it no longer appears there. Resolve this by instead emitting LLVM_BUILD_32_BITS in LLVMConfig so it can be checked for directly. Differential Revision: http://reviews.llvm.org/D21434 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274351 91177308-0d34-0410-b5e6-96231b3b80d8 John Brawn 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4040
4141 set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
4242
43 set(LLVM_BUILD_32_BITS @LLVM_BUILD_32_BITS@)
44
4345 set(LLVM_ENABLE_PLUGINS @LLVM_ENABLE_PLUGINS@)
4446 set(LLVM_EXPORT_SYMBOLS_FOR_PLUGINS @LLVM_EXPORT_SYMBOLS_FOR_PLUGINS@)
4547 set(LLVM_PLUGIN_EXT @LLVM_PLUGIN_EXT@)