diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-02-23 18:04:21 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-02-23 18:04:21 +0800 |
commit | cb04e0ba3611deff03566eb035b2c35b4b8890f9 (patch) | |
tree | b8a8d6a123ba5f620548c47b4d6d9fe5bb4ea81a | |
parent | 682cc6bb27543a00c9ede5800cdbf40a6f137057 (diff) | |
download | mrust-cb04e0ba3611deff03566eb035b2c35b4b8890f9.tar.gz |
Makefile - Create output dir for libflate build script before running
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -192,6 +192,7 @@ $(LLVM_LINKAGE_FILE): output/librustc_llvm_build $(LLVM_CONFIG) output/cargo_libflate/libminiz.a: output/libflate_build @echo "--- $<" + $Vmkdir -p $(abspath output/cargo_libflate) $Vcd rustc-nightly/src/libflate && (export OUT_DIR=$(abspath output/cargo_libflate) OPT_LEVEL=1 PROFILE=release TARGET=$(RUSTC_TARGET) HOST=$(RUSTC_HOST); $(DBG) ../../../$< > ../../../$<-output.txt) $Vcat $<-output.txt | grep '^cargo:' > $<-output_cargo.txt $Vcat $<-output_cargo.txt | grep 'cargo:rustc-link-search=native=' | awk -F = '{ print "-L " $$3 }' > output/rustc_link_opts-libflate.txt |