From 02b995f428ffd66ab72e13f804cdd5ad80fefa7a Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Thu, 19 May 2011 08:36:55 -0700 Subject: [PATCH] librustc depends on rustllvm and std. This fixes compiling the fuzzer application. --- mk/stage1.mk | 2 +- mk/stage2.mk | 2 +- mk/stage3.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/stage1.mk b/mk/stage1.mk index 44521f9480e..f2ca6321d94 100644 --- a/mk/stage1.mk +++ b/mk/stage1.mk @@ -16,7 +16,7 @@ stage1/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0) stage1/$(CFG_RUSTCLIB): stage1/librustc.o stage1/glue.o @$(call E, link: $@) $(Q)gcc $(CFG_GCCISH_CFLAGS) stage1/glue.o $(CFG_GCCISH_LINK_FLAGS) \ - -o $@ $< -Lstage1 -Lrt -lrustrt + -o $@ $< -Lstage1 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd stage1/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0) @$(call E, compile: $@) diff --git a/mk/stage2.mk b/mk/stage2.mk index 6f5ffa6f7ae..e084a19a8d3 100644 --- a/mk/stage2.mk +++ b/mk/stage2.mk @@ -16,7 +16,7 @@ stage2/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1) stage2/$(CFG_RUSTCLIB): stage2/librustc.o stage2/glue.o @$(call E, link: $@) $(Q)gcc $(CFG_GCCISH_CFLAGS) stage2/glue.o $(CFG_GCCISH_LINK_FLAGS) \ - -o $@ $< -Lstage2 -Lrt -lrustrt + -o $@ $< -Lstage2 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd stage2/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1) @$(call E, compile: $@) diff --git a/mk/stage3.mk b/mk/stage3.mk index a753d52c172..dc2792446e2 100644 --- a/mk/stage3.mk +++ b/mk/stage3.mk @@ -16,7 +16,7 @@ stage3/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2) stage3/$(CFG_RUSTCLIB): stage3/librustc.o stage3/glue.o @$(call E, link: $@) $(Q)gcc $(CFG_GCCISH_CFLAGS) stage3/glue.o $(CFG_GCCISH_LINK_FLAGS) \ - -o $@ $< -Lstage3 -Lrt -lrustrt + -o $@ $< -Lstage3 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd stage3/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2) @$(call E, compile: $@)