Date: Tue, 26 Mar 2024 16:52:01 +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-Hb5HIrEPjQ@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 #14 from Jan Beich <jbeich@FreeBSD.org> --- Consumers cannot drop LTO_UNSAFE (to match Cargo.toml) and override CARGO_PROFILE_RELEASE_PANIC due to Mk/Features/lto.mk appending CARGO_ENV a= fter (the last assignment wins) ports' own CARGO_ENV. For example, the following restores the regression (see inline comment) introduced by ports 967022fd81= 2c. $ make -V CARGO_ENV:M\*PANIC\* CARGO_PROFILE_RELEASE_PANIC=3Dunwind CARGO_PROFILE_RELEASE_PANIC=3D"abort" diff --git a/devel/texlab/Makefile b/devel/texlab/Makefile index 5ae2bf759953..3cc9eab3cd51 100644 --- a/devel/texlab/Makefile +++ b/devel/texlab/Makefile @@ -17,7 +17,7 @@ GH_ACCOUNT=3D latex-lsp # Fixes: error: the linked panic runtime `panic_unwind` is not compiled wi= th # this crate's panic strategy `abort` -LTO_UNSAFE=3D yes +CARGO_ENV=3D CARGO_PROFILE_RELEASE_PANIC=3Dunwind PLIST_FILES=3D bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz --=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-Hb5HIrEPjQ>