From 548afd75c52962632f0bff5585aa7d35b659b47b Mon Sep 17 00:00:00 2001 From: huangfangrun Date: Thu, 16 Mar 2023 20:23:54 +0800 Subject: [PATCH] [Compile Option] Add -Fpie -s and -pie options --- OpenCSD.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OpenCSD.spec b/OpenCSD.spec index 3492027..bfae963 100644 --- a/OpenCSD.spec +++ b/OpenCSD.spec @@ -1,7 +1,7 @@ Summary : An open source CoreSight(tm) Trace Decode library Name : OpenCSD Version : 1.3.3 -Release : 2 +Release : 3 License : BSD Source : %{name}-%{version}.tar.gz BuildRoot : %{_tmppath}/%{name}-%{version}-${release}-root @@ -22,7 +22,7 @@ The library is implemented in C++ with an optional "C" API. %build -make -C decoder/build/linux -j +make -C decoder/build/linux CPPFLAGS="-fPIE" LDFLAGS="-s -pie -Wl,-z,defs" -j %install @@ -44,6 +44,9 @@ rm -rf %{buildroot} %changelog +* Thu Mar 16 2023 huangfangrun - 1.3.3-3 +- [Compile Option] Add -fPIE -s and -pie options + * Tue Feb 28 2023 liweiganga - 1.3.3-2 - fix #I6I3EM and #I6I31E -- Gitee