[fix] add which command to test if GDB exists for arm linux (#2741)

This was blocking for some reason with the Parrot toolchain
This commit is contained in:
Gautier Hattenberger
2021-06-16 15:24:11 +02:00
committed by GitHub
parent c34df8abf4
commit 5cfda00673
+1 -1
View File
@@ -46,7 +46,7 @@ NM = $(PREFIX)-nm
SIZE = $(PREFIX)-size
STRIP = $(PREFIX)-strip
GDB = $(shell $(PREFIX)-gdb)
GDB = $(shell which $(PREFIX)-gdb)
ifeq ($(GDB),)
GDB = $(shell which gdb-multiarch)
endif