[Compile Option] Add -Fpie -s and -pie options
This commit is contained in:
parent
281fb6b37e
commit
548afd75c5
@ -1,7 +1,7 @@
|
|||||||
Summary : An open source CoreSight(tm) Trace Decode library
|
Summary : An open source CoreSight(tm) Trace Decode library
|
||||||
Name : OpenCSD
|
Name : OpenCSD
|
||||||
Version : 1.3.3
|
Version : 1.3.3
|
||||||
Release : 2
|
Release : 3
|
||||||
License : BSD
|
License : BSD
|
||||||
Source : %{name}-%{version}.tar.gz
|
Source : %{name}-%{version}.tar.gz
|
||||||
BuildRoot : %{_tmppath}/%{name}-%{version}-${release}-root
|
BuildRoot : %{_tmppath}/%{name}-%{version}-${release}-root
|
||||||
@ -22,7 +22,7 @@ The library is implemented in C++ with an optional "C" API.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -C decoder/build/linux -j
|
make -C decoder/build/linux CPPFLAGS="-fPIE" LDFLAGS="-s -pie -Wl,-z,defs" -j
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -44,6 +44,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 16 2023 huangfangrun <huangfangrun1@h-partners.com> - 1.3.3-3
|
||||||
|
- [Compile Option] Add -fPIE -s and -pie options
|
||||||
|
|
||||||
* Tue Feb 28 2023 liweiganga <liweiganga@uniontech.com> - 1.3.3-2
|
* Tue Feb 28 2023 liweiganga <liweiganga@uniontech.com> - 1.3.3-2
|
||||||
- fix #I6I3EM and #I6I31E
|
- fix #I6I3EM and #I6I31E
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user