Date: Sat, 23 Mar 2024 10:18:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277902] Mk/Uses/cargo.mk: WITH_LTO no longer applies Message-ID: <bug-277902-7788-udh8f6Elrh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277902-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-277902-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277902 Gleb Popov <arrowd@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #2 from Gleb Popov <arrowd@FreeBSD.org> --- Yes, this happens because Uses are .include'd earlier than Features. What I think the problem of Mk/Uses/cargo.mk is that it appends LTO flags b= ased on USES file inclusion. I don't quite see why we're doing that. I'd rather change Mk/Uses/cargo.mk to unconditionally set special LTO-relat= ed knobs for each language/buildsystem and then consume them in the appropriate USES code. I'm happy to do the change if the proposed solution looks good. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277902-7788-udh8f6Elrh>