Skip to content

Commit 4fc987d

Browse files
committed
makefile: make STDBUF_CMD optional
originally added for Mac in 4fa7b95, solves problems that don't exist on x86 Linux distributions normally. Removing stdbuf dependency is helpful when running in some containerized environments, like Bazel. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 140df62 commit 4fc987d

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
@@ -332,7 +332,7 @@ endif
332332
KLAYOUT_FOUND = $(if $(KLAYOUT_CMD),,$(error KLayout not found in PATH))
333333

334334
ifneq ($(shell command -v stdbuf),)
335-
STDBUF_CMD = stdbuf -o L
335+
STDBUF_CMD ?= stdbuf -o L
336336
endif
337337

338338
#-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)