forked from Lainports/freebsd-ports
x11/wezterm: fix build on armv7
This avoids an address space exhaustion due to LTO. Approved by: portmgr (build fix blanket) MFH: 2025Q1
This commit is contained in:
parent
0ae0e6a026
commit
bd1fd7747c
1 changed files with 8 additions and 1 deletions
|
|
@ -56,6 +56,13 @@ DOCS_BUILD_DEPENDS= mdbook:textproc/mdbook \
|
|||
mdbook-mermaid:textproc/mdbook-mermaid
|
||||
PORTDOCS= html
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH:Marmv?}
|
||||
LTO_UNSAFE= yes
|
||||
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Extract (snapshot) version from the port instead of .tag file
|
||||
@${ECHO_CMD} '${DISTVERSIONFULL}' >${WRKSRC}/.tag
|
||||
|
|
@ -91,4 +98,4 @@ post-install:
|
|||
${WRKSRC}/termwiz/data/${PORTNAME}.terminfo
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue