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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 10 20:49:28 GMT 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261807

--- Comment #5 from Yuri Victorovich <yuri at freebsd.org> ---
(In reply to Max Brazhnikov from comment #4)

> I agree that ports should support and respect LTO, but not forcing it.

The cmake:lto option doesn't force LTO. It's not recommended to be added to
USES unconditionally.

It allows port maintainer to easily add the LTO port option that is controlled
by the user.

This simply adds LTO support to USES=cmake which should be used from relevant
port options.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list