[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 16:05:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277333

--- Comment #11 from Gleb Popov <arrowd@FreeBSD.org> ---
There should really be only two cases: WITH_LTO=yes and WITHOUT_LTO=yes

Since LTO is an off-by-default feature, Uses/cargo.mk should arrange things in
such way that any Rust program would be compiled without LTO. That means
overriding cargo.toml knobs too.

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