add secure compilation options
This commit is contained in:
parent
4e4ba83468
commit
0ef47c09cc
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 1.20.8
|
Version: 1.20.8
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
License: MIT and GPLv2
|
License: MIT and GPLv2
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
@ -209,6 +209,7 @@ export CFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/generic-hardened-cc1"
|
|||||||
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
|
%global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev
|
||||||
%global bodhi_flags --with-vendor-name="openEuler Project"
|
%global bodhi_flags --with-vendor-name="openEuler Project"
|
||||||
%global dri_flags --enable-dri --enable-dri2 --enable-dri3 --enable-suid-wrapper --enable-glamor
|
%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
|
autoreconf -ivf || exit 1
|
||||||
|
|
||||||
@ -329,6 +330,12 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
|
|||||||
%{_libdir}/xorg/protocol.txt
|
%{_libdir}/xorg/protocol.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 07 2021 zhanzhimin<zhanzhimin@huawei.com> - 1.20.8-7
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add secure compilation options
|
||||||
|
|
||||||
* Mon Jun 07 2021 wangkerong<wangkerong@huawei.com> - 1.20.8-6
|
* Mon Jun 07 2021 wangkerong<wangkerong@huawei.com> - 1.20.8-6
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user