git: de604dbc1b0a - 2023Q3 - games/jumpy: unbreak build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Sep 2023 11:01:03 UTC
The branch 2023Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de604dbc1b0a983f4b245eb2b958a8b18ec69b5c
commit de604dbc1b0a983f4b245eb2b958a8b18ec69b5c
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-11 05:18:21 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-03 11:00:49 +0000
games/jumpy: unbreak build on i386
LLVM ERROR: out of memory
Allocation failed
(signal: 6, SIGABRT: process abort signal)
Reported by: pkg-fallout
(cherry picked from commit 3fc3ff568a4a544c4571f452393de6b0bd5afe2d)
---
games/jumpy/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
index dd6f91bfd3a0..8c0dcbf12417 100644
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -26,6 +26,11 @@ PLIST_FILES= bin/${PORTNAME}
PLIST_FILES+= "@comment bin/core" # not packaged in vendor binaries
PORTDATA= *
+.if ${MACHINE_ARCH} == i386
+# https://github.com/rust-lang/rust/issues/85598
+CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
post-patch:
# Search assets under PREFIX instead of current directory
@${REINPLACE_CMD} 's,assets",../${DATADIR_REL}/&,' \