From d22714f70d0af9498520d031f21de24b0bf98608 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Sun, 20 Mar 2011 21:05:31 -0700 Subject: Add -lrt to stateN link commands. --- Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 829ae0c6..cfdf6e9e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -474,24 +474,24 @@ llvmext/%.o: llvmext/%.cpp $(MKFILES) ###################################################################### %.stage0$(X): %.stage0.o rt/$(CFG_RUNTIME) stage0/glue.o - @$(call E, link [llvm]: $@) - $(Q)gcc $(CFG_GCC_CFLAGS) stage0/glue.o -o $@ $< -Lstage0 -lrustrt + @$(call E, link [gcc]: $@) + $(Q)gcc $(CFG_GCC_CFLAGS) stage0/glue.o -o $@ $< -Lstage0 -Lrt -lrustrt @# dsymutil sometimes fails or prints a warning, but the @# program still runs. Since it simplifies debugging other @# programs, I\'ll live with the noise. -$(Q)$(DSYMUTIL) $@ %.stage1(X): %.stage1.o rt/$(CFG_RUNTIME) stage1/glue.o - @$(call E, link [llvm]: $@) - $(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< -Lstage1 -lrustrt + @$(call E, link [gcc]: $@) + $(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< -Lstage1 -Lrt -lrustrt @# dsymutil sometimes fails or prints a warning, but the @# program still runs. Since it simplifies debugging other @# programs, I\'ll live with the noise. -$(Q)$(DSYMUTIL) $@ %.stage2(X): %.stage2.o rt/$(CFG_RUNTIME) stage2/glue.o - @$(call E, link [llvm]: $@) - $(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< -Lstage2 -lrustrt + @$(call E, link [gcc]: $@) + $(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< -Lstage2 -Lrt -lrustrt @# dsymutil sometimes fails or prints a warning, but the @# program still runs. Since it simplifies debugging other @# programs, I\'ll live with the noise. -- cgit v1.2.3