From 2dcadbbc4e1b1db418b045e65021c3d5223a65b1 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 13 Jul 2018 20:01:55 +0000 Subject: [PATCH] Revert "[CMake] Pass Clang defaults to runtimes builds" This reverts commit r332923 which is no longer needed since its use has been reverted in r337033. llvm-svn: 337039 --- runtimes/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index d14a08ebace..42842409dca 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -227,7 +227,6 @@ else() # if this is included from LLVM's CMake -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON PASSTHROUGH_PREFIXES COMPILER_RT - CLANG_DEFAULT USE_TOOLCHAIN ${EXTRA_ARGS}) endfunction() @@ -261,7 +260,6 @@ else() # if this is included from LLVM's CMake -DCMAKE_ASM_COMPILER_WORKS=ON -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON ${${target}_extra_args} - PASSTHROUGH_PREFIXES CLANG_DEFAULT TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip USE_TOOLCHAIN ${EXTRA_ARGS}) @@ -357,7 +355,6 @@ else() # if this is included from LLVM's CMake -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES - CLANG_DEFAULT ${ARG_PREFIXES} EXTRA_TARGETS ${extra_targets} ${test_targets} @@ -446,7 +443,6 @@ else() # if this is included from LLVM's CMake -DLLVM_RUNTIMES_TARGET=${name} ${${name}_extra_args} PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES - CLANG_DEFAULT TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip EXTRA_TARGETS ${${name}_extra_targets} ${${name}_test_targets}