mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
f0b94fc76d
Rather than using chrpath, we can just modify LLVM's cmake code to not set rpath when installing. Other llvm sub-projects like clang, lld, lldb, etc. use this same cmake code so disbaling rpath here will disable it for all projects.
24 lines
619 B
Diff
24 lines
619 B
Diff
From e67ace2ecb42c24e124f1738dc67b22055a22500 Mon Sep 17 00:00:00 2001
|
|
From: Tom Stellard <tstellar@redhat.com>
|
|
Date: Thu, 13 Sep 2018 10:10:08 -0700
|
|
Subject: [PATCH] Don't set rpath when installing
|
|
|
|
---
|
|
cmake/modules/AddLLVM.cmake | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
|
|
index ce2057f..de309b5 100644
|
|
--- a/cmake/modules/AddLLVM.cmake
|
|
+++ b/cmake/modules/AddLLVM.cmake
|
|
@@ -1621,6 +1621,7 @@ function(llvm_codesign name)
|
|
endfunction()
|
|
|
|
function(llvm_setup_rpath name)
|
|
+ return()
|
|
if(CMAKE_INSTALL_RPATH)
|
|
return()
|
|
endif()
|
|
--
|
|
1.8.3.1
|
|
|