[llvm] r214541 - Fix building with in-tree libc++abi on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Fri Aug 1 12:23:16 PDT 2014
Author: vkutuzov
Date: Fri Aug 1 14:23:15 2014
New Revision: 214541
URL: http://llvm.org/viewvc/llvm-project?rev=214541&view=rev
Log:
Fix building with in-tree libc++abi on FreeBSD
Differential Revision: http://reviews.llvm.org/D4743
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=214541&r1=214540&r2=214541&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Fri Aug 1 14:23:15 2014
@@ -461,6 +461,7 @@ else(UNIX)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
if (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,origin")
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,origin")
endif()
endif(NOT DEFINED CMAKE_INSTALL_RPATH)
endif()
More information about the llvm-commits
mailing list