From 186717fae09fc42410a56e51fe32af662a55b6e2 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 21 Apr 2011 06:07:10 +0000 Subject: [PATCH] Fix link commands for stage1 and stage2. --- Makefile.in | 4 ++-- 1 file 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.