aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-26 22:45:15 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-26 22:45:15 +0100
commit88f8063917a4261abfabfe94bc33c63f7405d1d5 (patch)
treeb3da8ddec59834f61c6ef5ef4786ae32b603a18b
parent8918bae09828133259acb36d6aef60ffbfad252c (diff)
-Z offline -> --offline
-rw-r--r--nix-rust/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-rust/local.mk b/nix-rust/local.mk
index a5e017cef..fda1c3dee 100644
--- a/nix-rust/local.mk
+++ b/nix-rust/local.mk
@@ -4,6 +4,6 @@ libnixrust_LDFLAGS_USE := -L$(d)/target/release -lnixrust -ldl
libnixrust_LDFLAGS_USE_INSTALLED := $(libnixrust_LDFLAGS_USE)
$(d)/target/release/libnixrust.a: $(wildcard $(d)/src/*.rs) $(d)/Cargo.toml
- $(trace-gen) cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo build --release $$(if [[ -d vendor ]]; then echo -Z offline; fi) && touch target/release/libnixrust.a
+ $(trace-gen) cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo build --release $$(if [[ -d vendor ]]; then echo --offline; fi) && touch target/release/libnixrust.a
dist-files += $(d)/vendor