Remove RPATH link option.
This commit is contained in:
parent
1f1ab1643b
commit
ba040b83e4
25
Remove-RPATH-Link-Option.patch
Normal file
25
Remove-RPATH-Link-Option.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 75f03b034257954c7e4ebf6a43a0006913048228 Mon Sep 17 00:00:00 2001
|
||||
From: jinlun <jinlun@huawei.com>
|
||||
Date: Mon, 13 Mar 2023 11:21:20 +0800
|
||||
Subject: [PATCH] Remove RPATH Link Option
|
||||
|
||||
---
|
||||
utils/makefiletpmc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/utils/makefiletpmc b/utils/makefiletpmc
|
||||
index 7de2439..cb01a66 100644
|
||||
--- a/utils/makefiletpmc
|
||||
+++ b/utils/makefiletpmc
|
||||
@@ -98,7 +98,7 @@ LNLLIBS += -lcrypto
|
||||
# link - for applications, TSS path, TSS and OpenSSl libraries
|
||||
|
||||
# hardening flags for linking executables
|
||||
-LNAFLAGS += -pie -Wl,-z,now -Wl,-rpath,.
|
||||
+LNAFLAGS += -pie -Wl,-z,now.
|
||||
|
||||
LNALIBS += -libmtssutils -libmtss
|
||||
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -7,13 +7,14 @@
|
||||
|
||||
Name: tss2
|
||||
Version: 1470
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities
|
||||
|
||||
License: BSD
|
||||
URL: http://sourceforge.net/projects/ibmtpm20tss/
|
||||
Source0: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz
|
||||
Patch1: flags-fixup.patch
|
||||
Patch2: Remove-RPATH-Link-Option.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: help2man
|
||||
@ -96,6 +97,9 @@ popd
|
||||
%doc ibmtss.doc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 13 2023 jinlun <jinlun@huawei.com> -1470-3
|
||||
- Remove RPATH link option.
|
||||
|
||||
* Fri Jul 30 2021 Guoxiaoqi <guoxiaoqi2@huawei.com> - 1470-2
|
||||
- Fix build with gcc-10
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user