summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-04-27 17:44:19 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-04-27 18:45:56 +0300
commit9be076ffe9021bbd83b195e6f69d17c366fbf79f (patch)
treea88c405ac5a5331f51d5a5e13dab72c24e67c974
parent1c42daa152c1e7302c0997c00e206cf7c4b33d73 (diff)
downloadqtlocation-mapboxgl-9be076ffe9021bbd83b195e6f69d17c366fbf79f.tar.gz
[build] Fix 'Command not found' message on Linux
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dab827d77b..9323aa63d9 100644
--- a/Makefile
+++ b/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