1
0
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:
Robert Clausecker 2023-11-04 06:59:51 +01:00
parent ffa8992157
commit eadeaa9f44

View File

@ -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