aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/CoqMakefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in
index a0cf4b02b8..11d9438fe2 100644
--- a/tools/CoqMakefile.in
+++ b/tools/CoqMakefile.in
@@ -62,7 +62,8 @@ VERBOSE ?=
# Time the Coq process (set to non empty), and how (see default value)
TIMED?=
-TIMECMD?=/usr/bin/time -f "$* (user: %U mem: %M ko)"
+TIMECMD?=
+STDTIME?=/usr/bin/time -f "$* (user: %U mem: %M ko)"
# Coq binaries
COQC ?= $(TIMER) "$(COQBIN)coqc"
@@ -111,7 +112,7 @@ COQDEBUG ?=
SHOW := $(if $(VERBOSE),@true "",@echo "")
HIDE := $(if $(VERBOSE),,@)
-TIMER=$(if $(TIMED), $(TIMECMD),)
+TIMER=$(if $(TIMED), $(STDTIME), $(TIMECMD))
OPT?=