servo: Merge #2586 - Reduce the number of times we call rustc in our Makefile #2327 (from ebalint:2327); r=jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 188b2c725d55f79e289a181575ca13c89408b1c7
This commit is contained in:
Edit Balint 2014-06-05 16:16:32 -04:00
Родитель 0efdf108b8
Коммит 29164f13b9
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -346,8 +346,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