File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 926049edddb6a990f22658205a2f3d467d0e4475
2
+ refs/heads/master: d5fc01caefed33c9633e8d26f4901f3e34a21f48
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ stage1/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
4
4
@$(call E, compile_and_link: $@)
5
5
$(STAGE1) --shared -o $@ $<
6
6
7
- stage1/glue.o : stage1/rustc$(X ) stage0/lib/$(CFG_STDLIB ) stage1/intrinsics.bc \
8
- $(LREQ) $(MKFILES)
7
+ stage1/lib/ glue.o : stage1/rustc$(X ) stage0/lib/$(CFG_STDLIB ) \
8
+ stage1/intrinsics.bc $(LREQ ) $(MKFILES )
9
9
@$(call E, generate: $@ )
10
10
$(STAGE1 ) -c -o $@ --glue
11
11
12
+ stage1/glue.o : stage1/lib/glue.o
13
+ cp stage1/lib/glue.o stage1/glue.o
14
+
12
15
stage1/intrinsics.bc : $(INTRINSICS_BC )
13
16
@$(call E, cp: $@ )
14
17
$(Q ) cp $< $@
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ stage2/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
4
4
@$(call E, compile_and_link: $@)
5
5
$(STAGE2) --shared -o $@ $<
6
6
7
- stage2/glue.o : stage2/rustc$(X ) stage1/lib/$(CFG_STDLIB ) stage2/intrinsics.bc \
8
- rustllvm/$(CFG_RUSTLLVM) rt/$(CFG_RUNTIME)
7
+ stage2/lib/ glue.o : stage2/rustc$(X ) stage1/lib/$(CFG_STDLIB ) \
8
+ stage2/intrinsics.bc rustllvm/$(CFG_RUSTLLVM ) rt/$(CFG_RUNTIME )
9
9
@$(call E, generate: $@ )
10
10
$(STAGE2 ) -c -o $@ --glue
11
11
12
+ stage2/glue.o : stage2/lib/glue.o
13
+ cp stage2/lib/glue.o stage2/glue.o
14
+
12
15
stage2/intrinsics.bc : $(INTRINSICS_BC )
13
16
@$(call E, cp: $@ )
14
17
$(Q ) cp $< $@
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ stage3/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
4
4
@$(call E, compile_and_link: $@)
5
5
$(STAGE3) --shared -o $@ $<
6
6
7
- stage3/glue.o : stage3/rustc$(X ) stage2/lib/$(CFG_STDLIB ) stage3/intrinsics.bc \
8
- rustllvm/$(CFG_RUSTLLVM) rt/$(CFG_RUNTIME)
7
+ stage3/lib/ glue.o : stage3/rustc$(X ) stage2/lib/$(CFG_STDLIB ) \
8
+ stage3/intrinsics.bc rustllvm/$(CFG_RUSTLLVM ) rt/$(CFG_RUNTIME )
9
9
@$(call E, generate: $@ )
10
10
$(STAGE3 ) -c -o $@ --glue
11
11
12
+ stage3/glue.o : stage3/lib/glue.o
13
+ cp stage3/lib/glue.o stage3/glue.o
14
+
12
15
stage3/intrinsics.bc : $(INTRINSICS_BC )
13
16
@$(call E, cp: $@ )
14
17
$(Q ) cp $< $@
Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ fn main(vec[str] args) {
393
393
//
394
394
// TODO: Factor this out of main.
395
395
if ( sopts. output_type == link:: output_type_exe) {
396
- let str glu = binary_dir + "/glue.o" ;
396
+ let str glu = binary_dir + "/lib/ glue.o" ;
397
397
let str main = "rt/main.o" ;
398
398
let str stage = "-L" + binary_dir + "/lib" ;
399
399
let vec[ str] gcc_args;
You can’t perform that action at this time.
0 commit comments