about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-25 01:22:20 +0200
committerhexcoder- <heiko@hexco.de>2019-10-25 01:22:20 +0200
commitb0036759fa991f5c940e40ad4b313fbe3504f6f8 (patch)
tree255a4c99999df54f46eaf5d461c2c0ee8930c24e
parentcb7ada2e78333c3d53928adf0575cf04be8bb907 (diff)
downloadafl++-b0036759fa991f5c940e40ad4b313fbe3504f6f8.tar.gz
portability fix: use cc instead of gcc for test-compcov
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index e4a5eb63..42ddf70b 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -271,7 +271,7 @@ test -e ../afl-gcc-fast && {
 } || $ECHO "$YELLOW[-] gcc_plugin not compiled, cannot test"
 
 $ECHO "$BLUE[*] Testing: shared library extensions"
-gcc -o test-compcov test-compcov.c > /dev/null 2>&1
+cc -o test-compcov test-compcov.c > /dev/null 2>&1
 test -e ../libtokencap.so && {
   AFL_TOKEN_FILE=token.out LD_PRELOAD=../libtokencap.so DYLD_INSERT_LIBRARIES=../libtokencap.so DYLD_FORCE_FLAT_NAMESPACE=1 ./test-compcov foobar > /dev/null 2>&1
   grep -q BUGMENOT token.out > /dev/null 2>&1 && {