games/punchy: unbreak build on i386
fatal runtime error: Rust cannot catch foreign exceptions thread '<unnamed>' panicked at '/wrkdirs/usr/ports/lang/rust/work/rustc-1.70.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1535:21: worker thread panicked', compiler/rustc_middle/src/util/bug.rs:36:26 (signal: 6, SIGABRT: process abort signal) Reported by: pkg-fallout
This commit is contained in:
parent
ecbb1b3e7a
commit
ad1d79583b
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ BINARY_ALIAS+= python=${PYTHON_CMD}
|
|||
CARGO_ENV+= V8_FROM_SOURCE=1 CLANG_BASE_PATH="/usr" GN_ARGS='${GN_ARGS}'
|
||||
GN_ARGS+= use_custom_libcxx=false
|
||||
|
||||
.if ${MACHINE_ARCH} == i386
|
||||
# https://github.com/rust-lang/rust/issues/85598
|
||||
LTO_UNSAFE= yes
|
||||
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Search assets under PREFIX instead of current directory
|
||||
@${REINPLACE_CMD} 's,assets",../${DATADIR_REL}/&,' \
|
||||
|
|
Loading…
Reference in a new issue