!9 删除RPATH编译选项
From: @jinlun123123 Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
346f402dfa
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
|
Name: tss2
|
||||||
Version: 1470
|
Version: 1470
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities
|
Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sourceforge.net/projects/ibmtpm20tss/
|
URL: http://sourceforge.net/projects/ibmtpm20tss/
|
||||||
Source0: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz
|
Source0: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz
|
||||||
Patch1: flags-fixup.patch
|
Patch1: flags-fixup.patch
|
||||||
|
Patch2: Remove-RPATH-Link-Option.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
@ -96,6 +97,9 @@ popd
|
|||||||
%doc ibmtss.doc
|
%doc ibmtss.doc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 30 2021 Guoxiaoqi <guoxiaoqi2@huawei.com> - 1470-2
|
||||||
- Fix build with gcc-10
|
- Fix build with gcc-10
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user