diff options
author | hexcoder- <heiko@hexco.de> | 2020-03-18 22:55:14 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-03-18 22:55:14 +0100 |
commit | 94a4cc8415e21416edadffed25c53bd5fe3e1d9e (patch) | |
tree | abbec67cb8dc974a0a803314e883f43ccbfbae78 /gcc_plugin | |
parent | a5e747af14ee89ea7d8f98f782df96d02ee68063 (diff) | |
download | afl++-94a4cc8415e21416edadffed25c53bd5fe3e1d9e.tar.gz |
Makefiles: prefer POSIX 'type' over 'which' for checking
Diffstat (limited to 'gcc_plugin')
-rw-r--r-- | gcc_plugin/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc_plugin/Makefile b/gcc_plugin/Makefile index 37485d0b..ce01e6f9 100644 --- a/gcc_plugin/Makefile +++ b/gcc_plugin/Makefile @@ -81,7 +81,7 @@ endif test_deps: @echo "[*] Checking for working '$(CC)'..." - @which $(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 ) + @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 ) # @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..." |