projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db11712
)
Fix building with in-tree libc++abi on FreeBSD
author
Viktor Kutuzov
<vkutuzov@accesssoftek.com>
Fri, 1 Aug 2014 19:23:15 +0000
(19:23 +0000)
committer
Viktor Kutuzov
<vkutuzov@accesssoftek.com>
Fri, 1 Aug 2014 19:23:15 +0000
(19:23 +0000)
Differential Revision: http://reviews.llvm.org/D4743
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214541
91177308
-0d34-0410-b5e6-
96231b3b80d8
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index c492e408fd54cb03814bf17929b325a8ce76af2e..cdaf3bbd166543ff0988c01677b4d2c0915a3529 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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()