[PATCH] D50416: [cmake] Prevent LLVMgold.so from being unloaded on Linux
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 08:12:52 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL339883: [cmake] Prevent LLVMgold.so from being unloaded on Linux (authored by hans, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50416?vs=159610&id=161034#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50416
Files:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Index: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
@@ -149,6 +149,7 @@
# is unloaded.
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,nodelete")
+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-z,nodelete")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50416.161034.patch
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/406f44cd/attachment.bin>
More information about the llvm-commits
mailing list