From 521a45bd12c5d218818ca4c5cd7f6edfb23da0d5 Mon Sep 17 00:00:00 2001 From: Edit Balint Date: Wed, 4 Jun 2014 16:55:51 +0200 Subject: [PATCH] Reduce the number of times we call rustc in our Makefile #2327 --- Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index cb08cbfc456..84fe9e09a88 100644 --- a/Makefile.in +++ b/Makefile.in @@ -342,8 +342,7 @@ ifneq ($(CFG_OSTYPE),linux-androideabi) all: servo servo-embedding servo: $(DEPS_servo) @$(call E, compile: $@) - $(Q)$(RUSTC) $(RFLAGS_servo) -o servo $< --crate-type bin - $(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type dylib,rlib + $(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type bin,dylib,rlib RFLAGS_embedding = $(strip $(CFG_RUSTC_FLAGS)) $(addprefix -L $(B)src/,$(DEPS_SUBMODULES)) -L $(B)src/components/gfx -L $(B)src/components/util -L $(B)src/components/net -L $(B)src/components/script -L $(B)src/components/style -L $(B)src/components/msg -L $(B).. -L $(B)src/components/main -L $(B)src/components/macros -A non_camel_case_types -A unused_variable