[build] Fix 'Command not found' message on Linux
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user