[Bug 258536] Add global LTO support for ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Sep 2021 18:35:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258536

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=fb5f03a87cf432751fae1f0ae7f29c9d4fc65917

commit fb5f03a87cf432751fae1f0ae7f29c9d4fc65917
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-30 18:27:50 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-09-30 18:27:50 +0000

    Mk/bsd.lto.mk: add global LTO support for ports

    It's well known that LTO provides both performance and size benefits for
    binaries.

    Add preliminary, opt-in support for global LTO enforcement to ports. Ports
that
    provide LTO option on their own and the ones that don't work with LTO will
need
    to set LTO_UNSAFE in the future.

    PR:     258536

 Mk/bsd.lto.mk (new) | 10 ++++++++++
 Mk/bsd.port.mk      |  4 ++++
 2 files changed, 14 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.