git: eadeaa9f44ed - main - games/punchy: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 00:20:34 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=eadeaa9f44ed4388777f91038ff5b2e330a76edf commit eadeaa9f44ed4388777f91038ff5b2e330a76edf 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:16:47 +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 --- games/punchy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/punchy/Makefile b/games/punchy/Makefile index 774087b9cbe9..f71bbcb9981c 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