From 3fc3ff568a4a544c4571f452393de6b0bd5afe2d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 11 Jul 2023 05:18:21 +0000 Subject: [PATCH] games/jumpy: unbreak build on i386 LLVM ERROR: out of memory Allocation failed (signal: 6, SIGABRT: process abort signal) Reported by: pkg-fallout --- games/jumpy/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile index d015552514de7..ee7f585a62dc2 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}/&,' \