fix(load error): undefine _hardened_build , partially enable lazybinding to avoid driver loading failure on xorg
- 由于amdgpu依赖于其他xorg module,部分启用lazybinding以避免xorg上驱动程序加载失败 (cherry picked from commit c381a506ce02f5db39c3ad5d908dd0765bd55b48)
This commit is contained in:
parent
b2635c5328
commit
28a441315a
@ -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
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user