git: 852b05a49a0e - main - lang/rust: unbreak on armv6 after 620968a43a5f
Jan Beich
jbeich at FreeBSD.org
Fri Oct 1 00:17:41 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=852b05a49a0ee00e1e2544635e2c76aca7f4b95d
commit 852b05a49a0ee00e1e2544635e2c76aca7f4b95d
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-10-01 00:13:42 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-10-01 00:14:58 +0000
lang/rust: unbreak on armv6 after 620968a43a5f
error: linking with `/wrkdirs/usr/ports/lang/rust/work/cc-wrapper` failed: exit status: 127
Pointy hat to: jbeich
---
lang/rust/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 0db40e6a5e3f..2aa606e6d3c9 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -201,9 +201,7 @@ do-configure:
@${ECHO_CMD} 'cc="${CC}"' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'cxx="${CXX}"' >> ${WRKSRC}/config.toml
.endif
-.if ${ARCH} == armv6
- @${ECHO_CMD} 'linker="${WRKDIR}/cc-wrapper"' >> ${WRKSRC}/config.toml
-.elif ${ARCH} == powerpc
+.if ${ARCH} == powerpc
@${ECHO_CMD} 'linker="${WRKDIR}/ld-wrapper"' >> ${WRKSRC}/config.toml
.else
@${ECHO_CMD} 'linker="${CC}"' >> ${WRKSRC}/config.toml
More information about the dev-commits-ports-all
mailing list