feat: fix fPIE

Signed-off-by: leeffo <liweiganga@uniontech.com>
This commit is contained in:
leeffo 2023-04-03 03:11:53 +00:00 committed by Gitee
parent 0737ad2064
commit eb6d23a58b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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