feat: fix fPIE

Signed-off-by: leeffo <liweiganga@uniontech.com>
(cherry picked from commit eb6d23a58bc4a19eb7ad5809f004ec5c3ce49c37)
This commit is contained in:
leeffo 2023-04-03 03:11:53 +00:00 committed by openeuler-sync-bot
parent ffc9029abc
commit a674766145

View File

@ -3,7 +3,7 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 5
Release: 6
Summary: deepin driver manager.
License: GPLv3
@ -27,7 +27,7 @@ deepin driver manager.
%setup
# fix strip
sed -i 's|-Wall"|-Wall -s"|' CMakeLists.txt
sed -i 's|-Wall"|-Wall -s -fPIE"|' CMakeLists.txt
%build
export PATH=$PATH:/usr/lib64/qt5/bin
@ -48,6 +48,9 @@ rm -rf %{?buildroot}/usr/lib/%{name}/debug/
%changelog
* Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-6
- feat: fix fPIE
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-5
- feat: fix strip