[Bug 261807] Mk/Uses/cmake.mk: Add lto cmake option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Feb 2022 23:41:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261807

            Bug ID: 261807
           Summary: Mk/Uses/cmake.mk: Add lto cmake option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 231661
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231661&action=edit
cmake-lto.patch

The attached patch adds the feature USES=cmake:lto that makes build to use LTO.

This feature should be used only on performance-critical ports.

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