!19 [sync] PR-18: 【轻量级 PR】:feat: fix fPIE

From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
openeuler-ci-bot 2023-04-03 03:37:15 +00:00 committed by Gitee
commit 8c58370d38
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