git: 9b9c9b8a37c5 - 2023Q4 - games/punchy: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 00:25:18 UTC
The branch 2023Q4 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9b9c9b8a37c577e50920392d7f2ad6d1fdc9f17c
commit 9b9c9b8a37c577e50920392d7f2ad6d1fdc9f17c
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-11-04 05:59:51 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-11-07 00:24:52 +0000
games/punchy: fix build on armv7
Disable LTO for better memory economy. Same fix as for i386.
See also: ad1d79583b285d7a320f7a8b844bc568142670e0
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
(cherry picked from commit eadeaa9f44ed4388777f91038ff5b2e330a76edf)
---
games/punchy/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games/punchy/Makefile b/games/punchy/Makefile
index a0e796d7cc67..59649de62f02 100644
--- a/games/punchy/Makefile
+++ b/games/punchy/Makefile
@@ -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