!9 [sync] PR-8: 关闭_hardened_build进行编译

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2022-12-19 02:18:08 +00:00 committed by Gitee
commit 626455a216
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,9 +1,12 @@
%global moduledir %(pkg-config xorg-server --variable=moduledir )
%global driverdir %{moduledir}/drivers
# Xorg cannot load hardened build
%undefine _hardened_build
Name: xorg-x11-drv-amdgpu
Version: 22.0.0
Release: 1
Release: 2
Summary: AMD GPU video driver
License: MIT
@ -47,5 +50,8 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_mandir}/man4/amdgpu.4*
%changelog
* Tue Dec 13 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 22.0.0-2
- undefine _hardened_build , partially enable lazybinding to avoid driver loading failure on xorg
* Thu Sep 01 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 22.0.0-1
- Package init