Date: Tue, 26 Mar 2024 18:08:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277333] Mk/Features/lto.mk: passing -C lto=no breaks LTO_UNSAFE ports Message-ID: <bug-277333-7788-OARDQcb7yq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277333-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-277333-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=3D277333 --- Comment #17 from Jan Beich <jbeich@FreeBSD.org> --- To summarize, WITH_LTO looks like crap to me: - LTO_UNSAFE with inconsistent (CARGO_PROFILE_* vs. RUSTFLAGS) and unexpect= ed semantics (LTO_UNSAFE vs. WITHOUT_LTO) - Modifies RUSTFLAGS without passing to MAKE_ENV (for ports *without* USES=3Dcargo) - Overrides individual CARGO_ENV assignemnets in consumers - Fakes LTO in USES=3Dcabal (-Wl,--gc-sections is a different thing and com= mon in C/C++ world) I may be wrong but you can easily test via devel/texlab which is fast to bu= ild. --=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-277333-7788-OARDQcb7yq>