git: 3e78ac41f175 - main - multimedia/gstreamer1-plugins-rust: also disable vendor LTO on i386

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 28 Aug 2023 18:21:38 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e78ac41f17524591589aa00e50fddd20a2e8014

commit 3e78ac41f17524591589aa00e50fddd20a2e8014
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-08-28 18:19:42 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-08-28 18:19:42 +0000

    multimedia/gstreamer1-plugins-rust: also disable vendor LTO on i386
---
 multimedia/gstreamer1-plugins-rust/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 835a38e70c1e..0fdd42fced23 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -30,6 +30,7 @@ CARGO_TEST=	no
 .if ${MACHINE_ARCH} == i386
 # https://github.com/rust-lang/rust/issues/85598
 LTO_UNSAFE=	yes
+CARGO_ENV+=	CARGO_PROFILE_RELEASE_LTO=false
 .endif
 
 OPTIONS_DEFINE=	ASM CAIRO CSOUND DAV1D GTK4 PANGO SODIUM WEBP