Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2024 16:05:07 +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-aUFJDBmT9e@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 #11 from Gleb Popov <arrowd@FreeBSD.org> ---
There should really be only two cases: WITH_LTO=3Dyes and WITHOUT_LTO=3Dyes

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.

--=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-aUFJDBmT9e>