[build] Fix 'Command not found' message on Linux

This commit is contained in:
Bruno de Oliveira Abinader
2017-04-27 17:44:19 +03:00
parent 1c42daa152
commit 9be076ffe9

View File

@@ -309,7 +309,7 @@ test: $(LINUX_BUILD)
benchmark: $(LINUX_BUILD)
$(NINJA) $(NINJA_ARGS) -j$(JOBS) -C $(LINUX_OUTPUT_PATH) mbgl-benchmark
ifneq (,$(shell command -v gdb))
ifneq (,$(shell command -v gdb 2> /dev/null))
GDB = gdb -batch -return-child-result -ex 'set print thread-events off' -ex 'run' -ex 'thread apply all bt' --args
endif