Skip to content
Snippets Groups Projects
Commit f22649e3 authored by Robert Clausecker's avatar Robert Clausecker
Browse files

shells/nushell: fix build on armv7

 - mark as LTO_UNSAFE on armv6/armv7 to avoid address space
   exhaustion
 - remove custom do-test target to avoid a conflict with cargo.mk's
   do-test; cargo.mk's default do-test does the job well enough

Approved by:	portmgr (build fix blanket)
MFH:		2023Q4
parent 6ab67bad
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment