diff --git a/python3.spec b/python3.spec index 9e13f3693dd07b02f4024480863ffce02edaa0f0..d1c6bf07c100f38ead8ba68cf9e0f2bb461abf8f 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: 22 +Release: 23 License: Python-2.0 %global branchversion 3.9 @@ -296,6 +296,7 @@ pushd ${OptimizedBuildDir} %endif %endif --without-ensurepip \ + --with-lto \ %{optimizations_flag} %make_build EXTRA_CFLAGS="$CFLAGS" @@ -831,6 +832,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Mon Mar 13 2023 Chenxi Mao - 3.9.9-23 +- Type:enhancement +- CVE:NA +- SUG:NA +- DESC: Enable link time optimizaitons (LTO) for better performance. + * Fri Dec 23 yaoguangzhong - 3.9.9-22 - Type:bugfix - CVE:NA