lang/rust-bootstrap: Do not build with debug=true on riscv64

It causes a build failure with rust 1.66.0

Reported upstream as https://github.com/rust-lang/rust/issues/105957

PR:		268415
This commit is contained in:
Mikael Urankar
2022-12-20 16:31:19 +01:00
parent cffe8a902a
commit b7ddc05690

View File

@@ -115,9 +115,6 @@ do-configure:
@${ECHO_CMD} '[rust]' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'channel="stable"' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'default-linker="${CC}"' >> ${WRKSRC}/config.toml
.if ${FLAVOR} == riscv64
@${ECHO_CMD} 'debug=true' >> ${WRKSRC}/config.toml
.endif
@${ECHO_CMD} 'deny-warnings=false' >> ${WRKSRC}/config.toml
@${ECHO_CMD} '[llvm]' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'link-shared=false' >> ${WRKSRC}/config.toml