about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-04-21 06:07:10 +0000
committerGraydon Hoare <graydon@mozilla.com>2011-04-21 06:07:10 +0000
commit186717fae09fc42410a56e51fe32af662a55b6e2 (patch)
treeef7d9947b3ed8a1727f7fbaa4d13c3b26fab9ba1
parent4509e6fd7097b630f73ac6125120372490ea57d3 (diff)
downloadrust-186717fae09fc42410a56e51fe32af662a55b6e2.tar.gz
rust-186717fae09fc42410a56e51fe32af662a55b6e2.zip
Fix link commands for stage1 and stage2.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d6ac15e2c3b..a07529f96e5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -543,7 +543,7 @@ stage2/%.o: stage2/%.s
 stage1/%$(X): stage1/%.o  $(SREQ0)
 	@$(call E, link [gcc]: $@)
 	$(Q)gcc $(CFG_GCC_CFLAGS) stage0/glue.o -o $@ $< \
-      -Lstage0 -Lrt -lrustrt -lstd -lm
+      -Lstage0 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd -lm
 	@# dsymutil sometimes fails or prints a warning, but the
 	@# program still runs.  Since it simplifies debugging other
 	@# programs, I\'ll live with the noise.
@@ -552,7 +552,7 @@ stage1/%$(X): stage1/%.o  $(SREQ0)
 stage2/%$(X): stage2/%.o  $(SREQ1)
 	@$(call E, link [gcc]: $@)
 	$(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< \
-      -Lstage1 -Lrt -lrustrt -lstd -lm
+      -Lstage1 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd -lm
 	@# dsymutil sometimes fails or prints a warning, but the
 	@# program still runs.  Since it simplifies debugging other
 	@# programs, I\'ll live with the noise.