summaryrefslogtreecommitdiff
path: root/shells/nushell
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-10-09 07:00:27 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-10-09 07:40:32 +0000
commitf22649e35840ddc7d3a19b8e9dd643b3f7885e0f (patch)
treed9907ebb81da5b7d683c9c07b01e0692368f3385 /shells/nushell
parent6ab67bad1dcc637c580ec720ed13c614a005034b (diff)
Diffstat (limited to 'shells/nushell')
-rw-r--r--shells/nushell/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/shells/nushell/Makefile b/shells/nushell/Makefile
index 2edd25cb071e..be61596d5b7a 100644
--- a/shells/nushell/Makefile
+++ b/shells/nushell/Makefile
@@ -607,10 +607,14 @@ DATAFRAME_DESC= Include the dataframe feature
DATAFRAME_VARS= CARGO_BUILD_ARGS+=--features=dataframe
DATAFRAME_BROKEN= see https://github.com/nushell/nushell/issues/7665
+.include <bsd.port.pre.mk>
+
+# avoid address space exhaustion in compiler
+.if ${ARCH:Marmv?}
+LTO_UNSAFE= yes
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nu
-do-test:
- @${CARGO_CARGO_RUN} test --workspace
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>