Factor the option and checking of compiler version better. Put the
[oota-llvm.git] / CMakeLists.txt
index 06f4335f135e39e751042655005b0fc3f5e5bb83..c689dca3b5701d54d6f5da01088e968ac5031759 100644 (file)
@@ -195,6 +195,9 @@ else()
   option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON)
 endif()
 
+option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+       "Set to ON to force using an old, unsupported host toolchain." OFF)
+
 option(LLVM_USE_INTEL_JITEVENTS
   "Use Intel JIT API to inform Intel(R) VTune(TM) Amplifier XE 2011 about JIT code"
   OFF)