about summary refs log tree commit diff
path: root/GNUmakefile.gcc_plugin
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-09-18 09:02:43 +0200
committerhexcoder- <heiko@hexco.de>2020-09-18 09:02:43 +0200
commit9eed8fe58895fd4a20aa7b5f180b1bfaebf42cd7 (patch)
tree0db810b88feb7381058eae3eab13a72ddc4a4611 /GNUmakefile.gcc_plugin
parent5241d1221b7bccd7f63f872653e597f33948423a (diff)
downloadafl++-9eed8fe58895fd4a20aa7b5f180b1bfaebf42cd7.tar.gz
portability: type -> command -v, compiler warnings
Diffstat (limited to 'GNUmakefile.gcc_plugin')
-rw-r--r--GNUmakefile.gcc_plugin2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.gcc_plugin b/GNUmakefile.gcc_plugin
index fe2dc266..55b79182 100644
--- a/GNUmakefile.gcc_plugin
+++ b/GNUmakefile.gcc_plugin
@@ -103,7 +103,7 @@ endif
 .PHONY: test_deps
 test_deps:
 	@echo "[*] Checking for working '$(CC)'..."
-	@type $(CC) >/dev/null 2>&1 || ( echo "[-] Oops, can't find '$(CC)'. Make sure that it's in your \$$PATH (or set \$$CC and \$$CXX)."; exit 1 )
+	@command -v $(CC) >/dev/null 2>&1 || ( echo "[-] Oops, can't find '$(CC)'. Make sure that it's in your \$$PATH (or set \$$CC and \$$CXX)."; exit 1 )
 #	@echo "[*] Checking for gcc for plugin support..."
 #	@$(CC) -v 2>&1 | grep -q -- --enable-plugin || ( echo "[-] Oops, this gcc has not been configured with plugin support."; exit 1 )
 	@echo "[*] Checking for gcc plugin development header files..."