build: Fix 'make perf'. Closes #1151
This commit is contained in:
parent
f619d5e9e2
commit
453168d917
|
@ -2,7 +2,7 @@
|
|||
ifdef CFG_PERF_TOOL
|
||||
rustc-perf$(X): stage2/bin/rustc$(X)
|
||||
@$(call E, perf compile: $@)
|
||||
$(PERF_STAGE2) -o $@ $(COMPILER_CRATE) >rustc-perf.err 2>&1
|
||||
$(PERF_STAGE2_$(CFG_HOST_TRIPLE)) -o $@ $(COMPILER_CRATE) >rustc-perf.err 2>&1
|
||||
$(Q)rm -f $@
|
||||
else
|
||||
rustc-perf$(X): stage2/bin/rustc$(X)
|
||||
|
|
Loading…
Reference in New Issue