Skip to content

Commit

Permalink
multimedia/gstreamer1-plugins-rust: fix build on armv7
Browse files Browse the repository at this point in the history
Disable LTO to make the build fit into the virtual address space.
Same fix as for i386.

See also:	3e78ac4
Approved by:	portmgr (build fix blanket)
MFH:		2023Q4
  • Loading branch information
clausecker committed Nov 7, 2023
1 parent c5f3ade commit c7b5341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multimedia/gstreamer1-plugins-rust/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit c7b5341

Please sign in to comment.