Skip to content

Commit

Permalink
games/jumpy: unbreak build on i386
Browse files Browse the repository at this point in the history
LLVM ERROR: out of memory
Allocation failed

(signal: 6, SIGABRT: process abort signal)

Reported by:	pkg-fallout
  • Loading branch information
jbeich committed Sep 3, 2023
1 parent 9c5871c commit 3fc3ff5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions games/jumpy/Makefile
Expand Up @@ -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}/&,' \
Expand Down

0 comments on commit 3fc3ff5

Please sign in to comment.