aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-05-30 14:32:41 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-05-30 14:34:43 +0000
commitd00f19675f28e63aefed456dc34eb415a3ac1c1b (patch)
tree32935c66983b70a27c92b3b9b620dd104571f807
parentca2108f09031662cc3f0a556a0197291f4ad47ad (diff)
downloadports-d00f19675f28e63aefed456dc34eb415a3ac1c1b.tar.gz
ports-d00f19675f28e63aefed456dc34eb415a3ac1c1b.zip
games/jumpy: disable LTO on armv7 (similar to games/punchy)
thread 'coordinator' panicked at compiler/rustc_middle/src/util/bug.rs:36:26: /wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1588:29: worker thread panicked stack backtrace: fatal runtime error: Rust cannot catch foreign exceptions (signal: 6, SIGABRT: process abort signal) Reported by: pkg-fallout
-rw-r--r--games/jumpy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
index 5f48faa986e5..070d5c208894 100644
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -24,7 +24,7 @@ WITHOUT_LTO= yes # XXX bug 277333 # bevy_dylib
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
-.if ${MACHINE_ARCH} == i386
+.if ${MACHINE_ARCH} == i386 || "${MACHINE_ARCH:Marmv?}" != ""
# https://github.com/rust-lang/rust/issues/85598
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
# https://github.com/briansmith/ring/issues/1793#issuecomment-1793243725