From eae411885c754057a8003d1ddf2619e3e7e1dc53 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Wed, 17 Jun 2015 18:43:08 -0600 Subject: [PATCH] Don't generate pyc files. This eliminates the last bit of script crate generating in-tree files. This now allows cargo target dir sharing to fully work. --- components/script/makefile.cargo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/makefile.cargo b/components/script/makefile.cargo index 2093e12f238..9fc604382fc 100644 --- a/components/script/makefile.cargo +++ b/components/script/makefile.cargo @@ -28,7 +28,7 @@ $(CACHE_DIR)/.done: touch $@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS) - $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \ + $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \ -I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \ -D$(OUT_DIR) \ $(BINDINGS_SRC)/GlobalGen.py $(BINDINGS_SRC)/Bindings.conf . \ @@ -37,7 +37,7 @@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS) $(AUTOGEN_SRC): $(OUT_DIR)/Bindings/%Binding.rs: $(bindinggen_dependencies) \ $(addprefix $(WEBIDLS_SRC)/,%.webidl) - $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \ + $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \ -I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \ -D$(OUT_DIR) \ $(BINDINGS_SRC)/BindingGen.py \