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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 10 20:42:56 GMT 2022


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

--- Comment #4 from Max Brazhnikov <makc at FreeBSD.org> ---
(In reply to Yuri Victorovich from comment #3)

LTO is optimization in the end, it's not different to CC or CFLAGS [1] (not to
mention its memory requirements). It must be optional and up to user decision. 

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

1. https://docs.freebsd.org/en/books/porters-handbook/porting-dads/#dads-cflags

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


More information about the kde-freebsd mailing list