aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-04-08 14:44:07 -0400
committerRafael Ávila de Espíndola <[email protected]>2011-04-08 14:51:47 -0400
commit2cbe2bcb5e0fc3e544529db51e56b39df93606f7 (patch)
tree71297bcc12a7eb92c4980d97cb3dfbafb21dd7e1 /Makefile.in
parentGold is more strict about --whole-archive and will report duplicated (diff)
downloadrust-2cbe2bcb5e0fc3e544529db51e56b39df93606f7.tar.xz
rust-2cbe2bcb5e0fc3e544529db51e56b39df93606f7.zip
Link with -lm now that it is not included with --whole-archive when
building rustllvm.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index a9d79182..ad7cf7a6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -759,7 +759,7 @@ compile-check: tidy \
%.stage0$(X): %.stage0.o $(SREQ0)
@$(call E, link [gcc]: $@)
$(Q)gcc $(CFG_GCC_CFLAGS) stage0/glue.o -o $@ $< \
- -Lstage0 -Lrt -lrustrt -lstd
+ -Lstage0 -Lrt -lrustrt -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.
@@ -768,7 +768,7 @@ compile-check: tidy \
%.stage1(X): %.stage1.o $(SREQ1)
@$(call E, link [gcc]: $@)
$(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< \
- -Lstage1 -Lrt -lrustrt -lstd
+ -Lstage1 -Lrt -lrustrt -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.
@@ -777,7 +777,7 @@ compile-check: tidy \
%.stage2$(X): %.stage2.o $(SREQ2)
@$(call E, link [gcc]: $@)
$(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< \
- -Lstage2 -Lrt -lrustrt -lstd
+ -Lstage2 -Lrt -lrustrt -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.