]> git.lizzy.rs Git - rust.git/commitdiff
librustc depends on rustllvm and std.
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
Thu, 19 May 2011 15:36:55 +0000 (08:36 -0700)
committerGraydon Hoare <graydon@mozilla.com>
Fri, 20 May 2011 19:32:44 +0000 (12:32 -0700)
This fixes compiling the fuzzer application.

mk/stage1.mk
mk/stage2.mk
mk/stage3.mk

index 44521f9480eaf39f182ce9725aa3f4e317741f31..f2ca6321d9455d94f7a9e6a003bcb764fbdee8a9 100644 (file)
@@ -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: $@)
index 6f5ffa6f7ae30327049c5f16e92c05a473e8590c..e084a19a8d3a72d3c9619ce4c8b11095e9dd3e5e 100644 (file)
@@ -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: $@)
index a753d52c17247b5a71109eff69e794c4fb0ca229..dc2792446e21e1b913dff9b65078eeb8e19991db 100644 (file)
@@ -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: $@)