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

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 20 Dec 2022 17:37:38 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b7ddc05690cdfbf5f944807543a218681bec89f3

commit b7ddc05690cdfbf5f944807543a218681bec89f3
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-12-20 15:31:19 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-12-20 17:36:06 +0000

    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
---
 lang/rust-bootstrap/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile
index a9324dfaf4db..cd786c8670e0 100644
--- a/lang/rust-bootstrap/Makefile
+++ b/lang/rust-bootstrap/Makefile
@@ -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