summaryrefslogtreecommitdiff
path: root/security/sequoia-chameleon-gnupg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/sequoia-chameleon-gnupg/Makefile')
-rw-r--r--security/sequoia-chameleon-gnupg/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/sequoia-chameleon-gnupg/Makefile b/security/sequoia-chameleon-gnupg/Makefile
index b93f3584cd69..31ac7bb3e6d0 100644
--- a/security/sequoia-chameleon-gnupg/Makefile
+++ b/security/sequoia-chameleon-gnupg/Makefile
@@ -62,4 +62,11 @@ post-install-ZSH-on:
${CARGO_TARGET_DIR}/shell-completions/_gpgv-sq.ps1 \
${STAGEDIR}${PREFIX}/share/zsh/site-functions
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+LTO_UNSAFE= yes
+CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
+.include <bsd.port.post.mk>