mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
games/punchy: fix build on armv7
Disable LTO for better memory economy. Same fix as for i386.
See also: ad1d79583b
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
This commit is contained in:
parent
ffa8992157
commit
eadeaa9f44
@ -29,7 +29,7 @@ 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
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user