File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a3be0454f9292fff21744b206304ca5c80716d3f
2
+ refs/heads/master: ff8af3c2db5e778dc9d8dad16538a2c38a124df7
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ stage3/$(CFG_RUSTCLIB): stage3/librustc.o stage3/glue.o
18
18
$(Q ) gcc $(CFG_GCCISH_CFLAGS ) stage3/glue.o $(CFG_GCCISH_LINK_FLAGS ) \
19
19
-o $@ $< -Lstage3 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd
20
20
21
- stage3/rustc.o : $(COMPILER_CRATE ) $(COMPILER_INPUTS ) $(SREQ2 )
22
- @$(call E, compile: $@ )
23
- $(STAGE2 ) -c -o $@ $<
24
-
25
21
stage3/glue.o : stage2/rustc$(X ) stage2/$(CFG_STDLIB ) stage2/intrinsics.bc \
26
22
rustllvm/$(CFG_RUSTLLVM) rt/$(CFG_RUNTIME)
27
23
@$(call E, generate: $@)
@@ -41,10 +37,9 @@ stage3/%.o: stage3/%.s
41
37
@$(call E, assemble [gcc]: $@ )
42
38
$(Q ) gcc $(CFG_GCCISH_CFLAGS ) -o $@ -c $<
43
39
44
- stage3/% $(X ) : stage3/% .o $(SREQ2 )
45
- @$(call E, link [gcc]: $@ )
46
- $(Q ) gcc $(CFG_GCCISH_CFLAGS ) stage3/glue.o -o $@ $< \
47
- -Lstage3 -Lrustllvm -Lrt rt/main.o -lrustrt -lrustllvm -lstd -lm
40
+ stage3/% $(X ) : $(COMPILER_CRATE ) $(COMPILER_INPUTS ) $(SREQ2 )
41
+ @$(call E, compile_and_link: $@ )
42
+ $(STAGE2 ) -o $@ $<
48
43
@# dsymutil sometimes fails or prints a warning, but the
49
44
@# program still runs. Since it simplifies debugging other
50
45
@# programs, I\'ll live with the noise.
You can’t perform that action at this time.
0 commit comments