Skip to content

Commit b1bc55a

Browse files
committed
Makefile: use env for time
Signed-off-by: Emil J. Tywoniak <[email protected]>
1 parent 7b4e7aa commit b1bc55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ YOSYS_FLAGS += -v 3
262262

263263
#-------------------------------------------------------------------------------
264264
# setup all commands used within this flow
265-
export TIME_BIN ?= /usr/bin/time
265+
export TIME_BIN ?= env time
266266
TIME_CMD = $(TIME_BIN) -f 'Elapsed time: %E[h:]min:sec. CPU time: user %U sys %S (%P). Peak memory: %MKB.'
267267
TIME_TEST = $(shell $(TIME_CMD) echo foo 2>/dev/null)
268268
ifeq (,$(strip $(TIME_TEST)))

0 commit comments

Comments
 (0)