projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356d6b7
)
Revert "[cmake] [compiler-rt] Call llvm_setup_rpath() when adding shared libraries."
author
Petr Hosek
<phosek@google.com>
Tue, 22 Jun 2021 18:55:23 +0000
(11:55 -0700)
committer
Petr Hosek
<phosek@google.com>
Tue, 22 Jun 2021 19:42:39 +0000
(12:42 -0700)
This reverts commit
78fd93e0396a19cb89d4b874c7cc42255888df56
as
a follow up to D91099.
compiler-rt/cmake/Modules/AddCompilerRT.cmake
patch
|
blob
|
history
diff --git
a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index
1e9e7c5
..
e72df6f
100644
(file)
--- a/
compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/
compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@
-359,9
+359,6
@@
function(add_compiler_rt_runtime name type)
target_link_libraries(${libname} PRIVATE ${builtins_${libname}})
endif()
if(${type} STREQUAL "SHARED")
- if(COMMAND llvm_setup_rpath)
- llvm_setup_rpath(${libname})
- endif()
if(WIN32 AND NOT CYGWIN AND NOT MINGW)
set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")