Skip to content

Commit 21c008d

Browse files
committed
Revert "[cmake] [compiler-rt] Call llvm_setup_rpath() when adding shared libraries."
This reverts commit 78fd93e as a follow up to D91099.
1 parent 356d6b7 commit 21c008d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@ function(add_compiler_rt_runtime name type)
359359
target_link_libraries(${libname} PRIVATE ${builtins_${libname}})
360360
endif()
361361
if(${type} STREQUAL "SHARED")
362-
if(COMMAND llvm_setup_rpath)
363-
llvm_setup_rpath(${libname})
364-
endif()
365362
if(WIN32 AND NOT CYGWIN AND NOT MINGW)
366363
set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
367364
set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")

0 commit comments

Comments
 (0)