aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-10-01 00:13:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-10-01 00:14:58 +0000
commit852b05a49a0ee00e1e2544635e2c76aca7f4b95d (patch)
tree88ded50691a896bd7a358fe86f16f7007605ff3c
parent6eb40da0a67175739b5ee96bcbced6a1187a3a2d (diff)
downloadports-852b05a49a0ee00e1e2544635e2c76aca7f4b95d.tar.gz
ports-852b05a49a0ee00e1e2544635e2c76aca7f4b95d.zip
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
-rw-r--r--lang/rust/Makefile4
1 files changed, 1 insertions, 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