[Bug 277333] Mk/Features/lto.mk: passing -C lto=no breaks LTO_UNSAFE ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Mar 2024 13:09:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277333

--- Comment #5 from Gleb Popov <arrowd@FreeBSD.org> ---
USES=cargo should arrange flags in such way that LTO is disabled by default.
lto.mk should append/change flags so that LTO gets enabled.

I don't quite see why that .else case containing -C lto=no is needed.

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