[cmake] Correct option to LLVM_FORCE_USE_OLD_TOOLCHAIN
authorJonas Hahnfeld <jonas.hahnfeld@cern.ch>
Wed, 17 May 2023 08:28:58 +0000 (10:28 +0200)
committerJonas Hahnfeld <jonas.hahnfeld@cern.ch>
Wed, 17 May 2023 08:35:49 +0000 (10:35 +0200)
This option was renamed a long time ago in commit 388cefa78d.

clang/CMakeLists.txt
flang/CMakeLists.txt

index bd2ac69..8220a9d 100644 (file)
@@ -54,7 +54,7 @@ if(CLANG_BUILT_STANDALONE)
   option(LLVM_INSTALL_TOOLCHAIN_ONLY
     "Only include toolchain files in the 'install' target." OFF)
 
-  option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+  option(LLVM_FORCE_USE_OLD_TOOLCHAIN
     "Set to ON to force using an old, unsupported host toolchain." OFF)
   option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)
index 66a0970..4c0b9a8 100644 (file)
@@ -125,7 +125,7 @@ if (FLANG_STANDALONE_BUILD)
 
   option(LLVM_INSTALL_TOOLCHAIN_ONLY
     "Only include toolchain files in the 'install' target." OFF)
-  option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+  option(LLVM_FORCE_USE_OLD_TOOLCHAIN
     "Set to ON to force using an old, unsupported host toolchain." OFF)