aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-20 21:05:31 -0700
committerGraydon Hoare <[email protected]>2011-03-20 21:05:31 -0700
commitd22714f70d0af9498520d031f21de24b0bf98608 (patch)
tree027b93c0100e6f3b3f3d4001cf01b1e6f7f1bbec
parentModify native_item_fn to handle trailing linkage names that differ from the i... (diff)
downloadrust-d22714f70d0af9498520d031f21de24b0bf98608.tar.xz
rust-d22714f70d0af9498520d031f21de24b0bf98608.zip
Add -lrt to stateN link commands.
-rw-r--r--Makefile.in12
1 files 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.