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

--- Comment #7 from Gleb Popov <arrowd@FreeBSD.org> ---
Generally, <FEATURE>_UNSAFE should completely disable a feature. I still don't
get how wrapping everything LTO-related into

.if !defined(LTO_UNSAFE)
.endif

doesn't fix the issue.

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