]> granicus.if.org Git - clang/commitdiff
Teach the standalone Clang CMake bits about the flag to force using an
authorChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:22:24 +0000 (22:22 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:22:24 +0000 (22:22 +0000)
old toolchain to build. The toolchain version is now checked in
HandleLLVMOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199150 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 144239157a3ae51bd33410c659d334cfdc8fd6ea..313694d9968025647c65d28ed6ffab121626a450 100644 (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)