summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2018-01-25 19:18:51 +0000
committerDon Hinton <hintonda@gmail.com>2018-01-25 19:18:51 +0000
commitbc595f57020534faee0780a3777eefcb792d696c (patch)
treee61625e306233a5536cf7403197fb8ca9820bc1d
parent5e237686d414377af34b633dedcb27331b8878d7 (diff)
downloadbcm5719-llvm-bc595f57020534faee0780a3777eefcb792d696c.tar.gz
bcm5719-llvm-bc595f57020534faee0780a3777eefcb792d696c.zip
Revert [libcxxabi] r323455 - [cmake] [libcxxabi] Call llvm_setup_rpath() when adding shared libraries.
Shoaib Meenai pointed out this will break standalone builds can be built without llvm. Differential Revision: https://reviews.llvm.org/D42460 llvm-svn: 323458
-rw-r--r--libcxxabi/src/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt
index 101164bd394..240f6d0d103 100644
--- a/libcxxabi/src/CMakeLists.txt
+++ b/libcxxabi/src/CMakeLists.txt
@@ -127,7 +127,6 @@ set(LIBCXXABI_TARGETS)
# Build the shared library.
if (LIBCXXABI_ENABLE_SHARED)
add_library(cxxabi_shared SHARED $<TARGET_OBJECTS:cxxabi_objects>)
- llvm_setup_rpath(cxxabi_shared)
target_link_libraries(cxxabi_shared ${LIBCXXABI_LIBRARIES})
set_target_properties(cxxabi_shared
PROPERTIES
OpenPOWER on IntegriCloud