summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-07 11:41:11 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-07 11:41:11 +0800
commit91dca07b665f05b4468378f922d630139b72f1fa (patch)
treebeef6f3acf4f11fb8a8e196e63325ed8886278fe
parent9ddbbdc64821c64d0ec6a08160f81dd364911470 (diff)
downloadmrust-91dca07b665f05b4468378f922d630139b72f1fa.tar.gz
Makefile - libcollections requires rustc_unicode
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dfa98ba5..d9e76cc2 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,11 @@ output/liballoc.hir: $(RUSTCSRC)src/liballoc/lib.rs output/libcore.hir $(BIN)
@echo "--- [MRUSTC] $@"
@mkdir -p output/
$(DBG) $(BIN) $< -o $@ $(PIPECMD)
-output/libcollections.hir: $(RUSTCSRC)src/libcollections/lib.rs output/libcore.hir output/liballoc.hir $(BIN)
+output/libcollections.hir: $(RUSTCSRC)src/libcollections/lib.rs $(patsubst %,output/lib%.hir,core alloc rustc_unicode) $(BIN)
+ @echo "--- [MRUSTC] $@"
+ @mkdir -p output/
+ $(DBG) $(BIN) $< -o $@ $(PIPECMD)
+output/librustc_unicode.hir: $(RUSTCSRC)src/librustc_unicode/lib.rs output/libcore.hir $(BIN)
@echo "--- [MRUSTC] $@"
@mkdir -p output/
$(DBG) $(BIN) $< -o $@ $(PIPECMD)