maintainer-feedback requested: [Bug 261974] lang/python311: add --enable-lto
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261974] lang/python311: add --enable-lto"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Feb 2022 17:10:24 UTC
Bugzilla Automation <bugzilla@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.