diff --git a/python3.spec b/python3.spec index 0ef5ff57ec731c9f089173cb2ecddba5dc9f05d7..04a6fc767373b49f4b606b88ec9645af6ffa1838 100644 --- a/python3.spec +++ b/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 - 3.9.9-9 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add safe compilation option of FS + * Mon May 16 2022 shixuantong - 3.9.9-8 - Type:CVE - CVE:CVE-2015-20107