Skip to content

Commit 6a2ad08

Browse files
committed
auto merge of #7492 : yichoi/rust/fix_cleanllvm, r=luqmana
fix clean-llvm in mk/clean.mk for cross-compile after #7442 landed, below error produced while android cross-compile ``` make[1]: *** No rule to make target `clean-llvmarm-linux-androideabi', needed by `clean-llvm'. Stop. make[1]: Leaving directory `/home/yichoi/rust_latest/build' make: *** [rustllvm/llvm-auto-clean-stamp] Error 2 ```
2 parents 07feeb9 + 0a3f6bc commit 6a2ad08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/clean.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CLEAN_STAGE_RULES = \
2020
clean$(stage)_T_$(target)_H_$(host))))
2121

2222
CLEAN_LLVM_RULES = \
23-
$(foreach target, $(CFG_TARGET_TRIPLES), \
23+
$(foreach target, $(CFG_HOST_TRIPLES), \
2424
clean-llvm$(target))
2525

2626
.PHONY: clean clean-all clean-misc clean-llvm

0 commit comments

Comments
 (0)