add safe compilation option of FS
This commit is contained in:
parent
faeae4b245
commit
9dcec59254
10
python3.spec
10
python3.spec
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
||||
URL: https://www.python.org/
|
||||
|
||||
Version: 3.9.9
|
||||
Release: 8
|
||||
Release: 9
|
||||
License: Python
|
||||
|
||||
%global branchversion 3.9
|
||||
@ -202,7 +202,7 @@ topdir=$(pwd)
|
||||
%global extension_cflags ""
|
||||
%global extension_ldflags ""
|
||||
|
||||
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong"
|
||||
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2"
|
||||
export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
||||
export CXXFLAGS="%{extension_cxxflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
||||
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
||||
@ -797,6 +797,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 20 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-9
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:add safe compilation option of FS
|
||||
|
||||
* Mon May 16 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-8
|
||||
- Type:CVE
|
||||
- CVE:CVE-2015-20107
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user