build: Fix 'make perf'. Closes #1151

This commit is contained in:
Brian Anderson 2011-11-13 16:51:38 -08:00
parent f619d5e9e2
commit 453168d917
1 changed files with 1 additions and 1 deletions

View File

@ -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)