Skip to content

Commit b207702

Browse files
authored
Revert "CompilerRT: Normalize COMPILER_RT_DEFAULT_TARGET_TRIPLE (#88835)"
This reverts commit 16f1887.
1 parent 678f19f commit b207702

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler-rt/cmake/Modules/CompilerRTUtils.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,6 @@ macro(construct_compiler_rt_default_triple)
368368
"Default triple for which compiler-rt runtimes will be built.")
369369
endif()
370370

371-
if ("${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
372-
execute_process(COMMAND ${CMAKE_C_COMPILER} --target=${COMPILER_RT_DEFAULT_TARGET_TRIPLE} -print-effective-triple
373-
OUTPUT_VARIABLE COMPILER_RT_DEFAULT_TARGET_TRIPLE
374-
OUTPUT_STRIP_TRAILING_WHITESPACE)
375-
endif()
376-
377371
string(REPLACE "-" ";" LLVM_TARGET_TRIPLE_LIST ${COMPILER_RT_DEFAULT_TARGET_TRIPLE})
378372
list(GET LLVM_TARGET_TRIPLE_LIST 0 COMPILER_RT_DEFAULT_TARGET_ARCH)
379373

0 commit comments

Comments
 (0)