Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 261974: lang/python311: add --enable-lto
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261974



--- Description ---
Off for riscv64 and powerpc64.

configure.ac checks $CC, so we need to set it to clang if $CC == cc.
LD takes around 300MB for linking so it should be ok to enable it even for 32
bit architectures.

This patch should also be merged to older Python. At least 3.10 and 3.9 should
build with LTO. It would be nice if it's done before 3.9 is made the default.

Reply via email to