Teach the standalone Clang CMake bits about the flag to force using an

old toolchain to build. The toolchain version is now checked in
HandleLLVMOptions.

llvm-svn: 199150
This commit is contained in:
Chandler Carruth 2014-01-13 22:22:24 +00:00
parent 8388597361
commit 38a61d87a5
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
"Set to ON to force using an old, unsupported host toolchain." OFF)
include(AddLLVM)
include(TableGen)
include(HandleLLVMOptions)