Enable LTO for better performance
Link:https://src.fedoraproject.org/rpms/python3.9/blob/f38/f/python3.9.spec#_869 Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
This commit is contained in:
parent
0cc2c62a18
commit
baf4570000
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
|||||||
URL: https://www.python.org/
|
URL: https://www.python.org/
|
||||||
|
|
||||||
Version: 3.9.9
|
Version: 3.9.9
|
||||||
Release: 22
|
Release: 23
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
|
||||||
%global branchversion 3.9
|
%global branchversion 3.9
|
||||||
@ -296,6 +296,7 @@ pushd ${OptimizedBuildDir}
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
--without-ensurepip \
|
--without-ensurepip \
|
||||||
|
--with-lto \
|
||||||
%{optimizations_flag}
|
%{optimizations_flag}
|
||||||
|
|
||||||
%make_build EXTRA_CFLAGS="$CFLAGS"
|
%make_build EXTRA_CFLAGS="$CFLAGS"
|
||||||
@ -831,6 +832,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 13 2023 Chenxi Mao <chenxi.mao@suse.com> - 3.9.9-23
|
||||||
|
- Type:enhancement
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: Enable link time optimizaitons (LTO) for better performance.
|
||||||
|
|
||||||
* Fri Dec 23 yaoguangzhong <yaoguangzhong@xfusion.com> - 3.9.9-22
|
* Fri Dec 23 yaoguangzhong <yaoguangzhong@xfusion.com> - 3.9.9-22
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user