aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-05-10 20:24:39 -0400
committerBrian Anderson <[email protected]>2011-05-10 21:31:14 -0400
commit65547a314fc37c1014a9f93523b37fe9fe692998 (patch)
tree8e8b5a9617ee7192533d518f2fd25c7aed9963e2
parentLink fuzzer to the rustc crate (diff)
downloadrust-65547a314fc37c1014a9f93523b37fe9fe692998.tar.xz
rust-65547a314fc37c1014a9f93523b37fe9fe692998.zip
Update librustc build targets with correct flags
-rw-r--r--mk/stage1.mk4
-rw-r--r--mk/stage2.mk4
-rw-r--r--mk/stage3.mk4
3 files changed, 6 insertions, 6 deletions
diff --git a/mk/stage1.mk b/mk/stage1.mk
index 6b3aac07..44521f94 100644
--- a/mk/stage1.mk
+++ b/mk/stage1.mk
@@ -15,8 +15,8 @@ stage1/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0)
stage1/$(CFG_RUSTCLIB): stage1/librustc.o stage1/glue.o
@$(call E, link: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o $(CFG_GCC_LINK_FLAGS) -o $@ $< \
- -Lstage1 -Lrt -lrustrt
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage1/glue.o $(CFG_GCCISH_LINK_FLAGS) \
+ -o $@ $< -Lstage1 -Lrt -lrustrt
stage1/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0)
@$(call E, compile: $@)
diff --git a/mk/stage2.mk b/mk/stage2.mk
index 3da28236..6f5ffa6f 100644
--- a/mk/stage2.mk
+++ b/mk/stage2.mk
@@ -15,8 +15,8 @@ stage2/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1)
stage2/$(CFG_RUSTCLIB): stage2/librustc.o stage2/glue.o
@$(call E, link: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o $(CFG_GCC_LINK_FLAGS) -o $@ $< \
- -Lstage2 -Lrt -lrustrt
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage2/glue.o $(CFG_GCCISH_LINK_FLAGS) \
+ -o $@ $< -Lstage2 -Lrt -lrustrt
stage2/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1)
@$(call E, compile: $@)
diff --git a/mk/stage3.mk b/mk/stage3.mk
index 2349af6b..a753d52c 100644
--- a/mk/stage3.mk
+++ b/mk/stage3.mk
@@ -15,8 +15,8 @@ stage3/librustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2)
stage3/$(CFG_RUSTCLIB): stage3/librustc.o stage3/glue.o
@$(call E, link: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage3/glue.o $(CFG_GCC_LINK_FLAGS) -o $@ $< \
- -Lstage3 -Lrt -lrustrt
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage3/glue.o $(CFG_GCCISH_LINK_FLAGS) \
+ -o $@ $< -Lstage3 -Lrt -lrustrt
stage3/rustc.o: $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2)
@$(call E, compile: $@)