add secure compilation options
This commit is contained in:
parent
b5c6ea91cb
commit
8fd98b9345
@ -16,7 +16,7 @@
|
||||
|
||||
Name: xorg-x11-server
|
||||
Version: 1.20.10
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: X.Org X11 X server
|
||||
License: MIT and GPLv2
|
||||
URL: https://www.x.org
|
||||
@ -201,6 +201,7 @@ export CFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/generic-hardened-cc1"
|
||||
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
|
||||
%global bodhi_flags --with-vendor-name="openEuler Project"
|
||||
%global dri_flags --enable-dri --enable-dri2 --enable-dri3 --enable-suid-wrapper --enable-glamor
|
||||
%global optflags %(echo %{optflags} -Wl,-z,now)
|
||||
|
||||
autoreconf -ivf || exit 1
|
||||
|
||||
@ -321,6 +322,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
|
||||
%{_libdir}/xorg/protocol.txt
|
||||
|
||||
%changelog
|
||||
* Tue Jun 08 2021 zhanzhimin<zhanzhimin@huawei.com> - 1.20.10-5
|
||||
- add secure compilation options
|
||||
|
||||
* Tun Jun 08 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.20.10-4
|
||||
- Remove pam_console dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user