Skip to content

Commit 32202cc

Browse files
committed
Auto merge of #29820 - wthrowe:makefile-fixes, r=brson
The first commit fixes the "jobserver unavailable" warning reported at gentoo/gentoo-rust#29. I don't think the warning is related to the compilation failure shown there. The remaining commits are minor fixes I noticed while investigating the jobserver warning.
2 parents b6b17c9 + 8d105dd commit 32202cc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

mk/llvm.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ $$(LLVM_AR_$(1)): $$(LLVM_CONFIG_$(1))
6464
# when we changed something not otherwise captured by builtin
6565
# dependencies. In these cases, commit a change that touches
6666
# the stamp in the source dir.
67-
$$(LLVM_STAMP_$(1)): $(S)src/rustllvm/llvm-auto-clean-trigger
67+
$$(LLVM_STAMP_$(1)): $$(S)src/rustllvm/llvm-auto-clean-trigger
6868
@$$(call E, make: cleaning llvm)
69-
$(Q)touch $$@.start_time
70-
$(Q)$(MAKE) clean-llvm$(1)
69+
$$(Q)touch $$@.start_time
70+
$$(Q)$$(MAKE) clean-llvm$(1)
7171
@$$(call E, make: done cleaning llvm)
7272
touch -r $$@.start_time $$@ && rm $$@.start_time
7373

mk/snap.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ snap-stage$(1)-H-$(2): $$(HSREQ$(1)_H_$(2))
1818
endef
1919

2020
$(foreach host,$(CFG_HOST), \
21-
$(eval $(foreach stage,1 2 3, \
22-
$(eval $(call DEF_SNAP_FOR_STAGE_H,$(stage),$(host))))))
21+
$(foreach stage,1 2 3, \
22+
$(eval $(call DEF_SNAP_FOR_STAGE_H,$(stage),$(host)))))
2323

2424
snap-stage1: snap-stage1-H-$(CFG_BUILD)
2525

mk/target.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,5 @@ $(foreach host,$(CFG_HOST), \
204204
$(foreach host,$(CFG_HOST), \
205205
$(foreach target,$(CFG_TARGET), \
206206
$(foreach stage,$(STAGES), \
207-
$(foreach obj,rsbegin rsend, \
208-
$(eval $(call TARGET_RUSTRT_STARTUP_OBJ,$(stage),$(target),$(host),$(obj)))))))
207+
$(foreach obj,rsbegin rsend, \
208+
$(eval $(call TARGET_RUSTRT_STARTUP_OBJ,$(stage),$(target),$(host),$(obj)))))))

0 commit comments

Comments
 (0)