summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index 24c7792216..8791f3a2df 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -144,7 +144,7 @@ run-glfw-app:
run-valgrind-glfw-app:
cd $(PLATFORM_OUTPUT)/$(BUILDTYPE) && valgrind --leak-check=full --suppressions=../../../scripts/valgrind.sup ./mapbox-glfw
-ifneq (,$(shell command -v gdb))
+ifneq (,$(shell which gdb))
GDB = gdb -batch -return-child-result -ex 'set print thread-events off' -ex 'run' -ex 'thread apply all bt' --args
endif