Skip to content

Commit b4c1bb4

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337039 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 7dc602e commit b4c1bb4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

runtimes/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ else() # if this is included from LLVM's CMake
227227
-DCMAKE_C_COMPILER_WORKS=ON
228228
-DCMAKE_ASM_COMPILER_WORKS=ON
229229
PASSTHROUGH_PREFIXES COMPILER_RT
230-
CLANG_DEFAULT
231230
USE_TOOLCHAIN
232231
${EXTRA_ARGS})
233232
endfunction()
@@ -261,7 +260,6 @@ else() # if this is included from LLVM's CMake
261260
-DCMAKE_ASM_COMPILER_WORKS=ON
262261
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
263262
${${target}_extra_args}
264-
PASSTHROUGH_PREFIXES CLANG_DEFAULT
265263
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
266264
USE_TOOLCHAIN
267265
${EXTRA_ARGS})
@@ -357,7 +355,6 @@ else() # if this is included from LLVM's CMake
357355
-DCMAKE_CXX_COMPILER_WORKS=ON
358356
-DCMAKE_ASM_COMPILER_WORKS=ON
359357
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
360-
CLANG_DEFAULT
361358
${ARG_PREFIXES}
362359
EXTRA_TARGETS ${extra_targets}
363360
${test_targets}
@@ -446,7 +443,6 @@ else() # if this is included from LLVM's CMake
446443
-DLLVM_RUNTIMES_TARGET=${name}
447444
${${name}_extra_args}
448445
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
449-
CLANG_DEFAULT
450446
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
451447
EXTRA_TARGETS ${${name}_extra_targets}
452448
${${name}_test_targets}

0 commit comments

Comments
 (0)