forked from Lainports/freebsd-ports
security/sequoia-sq: 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
efdde54bd4
commit
0ae0e6a026
1 changed files with 8 additions and 1 deletions
|
|
@ -30,6 +30,13 @@ OPTIONS_SUB= yes
|
||||||
|
|
||||||
ELVISH_DESC= Install Elvish module
|
ELVISH_DESC= Install Elvish module
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${ARCH:Marmv?}
|
||||||
|
LTO_UNSAFE= yes
|
||||||
|
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install-BASH-on:
|
post-install-BASH-on:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||||
${INSTALL_DATA} ${CARGO_TARGET_DIR}/shell-completions/${PORTNAME}.bash \
|
${INSTALL_DATA} ${CARGO_TARGET_DIR}/shell-completions/${PORTNAME}.bash \
|
||||||
|
|
@ -55,4 +62,4 @@ post-install-ZSH-on:
|
||||||
${CARGO_TARGET_DIR}/shell-completions/_${PORTNAME}.ps1 \
|
${CARGO_TARGET_DIR}/shell-completions/_${PORTNAME}.ps1 \
|
||||||
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue