git: c7b5341dae64 - main - multimedia/gstreamer1-plugins-rust: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 00:20:36 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c7b5341dae6449af1d8fc1d7af47a2412ea2b5f6
commit c7b5341dae6449af1d8fc1d7af47a2412ea2b5f6
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-11-04 06:24:03 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-11-07 00:16:48 +0000
multimedia/gstreamer1-plugins-rust: fix build on armv7
Disable LTO to make the build fit into the virtual address space.
Same fix as for i386.
See also: 3e78ac41f17524591589aa00e50fddd20a2e8014
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
---
multimedia/gstreamer1-plugins-rust/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 1eeaea0997d3..37f0d15868e2 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -29,7 +29,7 @@ CARGO_BUILD= no
CARGO_INSTALL= no
CARGO_TEST= no
-.if ${MACHINE_ARCH} == i386
+.if ${MACHINE_ARCH} == i386 || "${MACHINE_ARCH:Marmv?}" != ""
# https://github.com/rust-lang/rust/issues/85598
LTO_UNSAFE= yes
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false