summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/rust/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 414c065264dc..f17d0d8e8aa6 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -166,7 +166,7 @@ post-patch:
post-patch-PORT_LLVM-on:
# WASM target hardcodes bundled lld
- @${REINPLACE_CMD} 's|"rust-lld"|"wasm-ld${LLVM_DEFAULT}"|' \
+ @${REINPLACE_CMD} 's|"rust-lld"|"wasm-ld${LLVM_VERSION}"|' \
${WRKSRC}/compiler/rustc_target/src/spec/wasm_base.rs
do-configure: