summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index df9b9cb3..a481c061 100644
--- a/Makefile
+++ b/Makefile
@@ -169,6 +169,7 @@ $(LLVM_LINKAGE_FILE): output/librustc_llvm_build
TARGET=$(RUSTC_TARGET) HOST=$(shell $(CC) --verbose 2>&1 | grep 'Target' | awk '{print $$2}') output/librustc_llvm_build
else
$(LLVM_LINKAGE_FILE):
+ mkdir -p $(dir $@)
echo > $@
endif