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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 10 19:46:56 GMT 2022


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

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

LTO is different.

CC and MAKE_JOBS_NUMBER for the most part only affect how software is compiled,
and essentially don't affect the result of the build.

LTO changes how code is optimized, and resulting binaries can be significantly
more performant.

Port option LTO can then be defined with LTO_USES=cmake:lto.
This option would be controlled by user.

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


More information about the kde-freebsd mailing list