about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-28 09:31:30 +0100
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:06 +0200
commit23d9649aec7a7d74082debdb9f6fa2f5ffca7268 (patch)
tree5ec002b1390c85d60e9c581cd5be8ca0cb4df7bd /test
parent738a245c3eed6ad360591e58cce757c90fb3f490 (diff)
downloadafl++-23d9649aec7a7d74082debdb9f6fa2f5ffca7268.tar.gz
making 'CFLAGS="-m32" make source-only tests' work
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 8434aaf1..ec4e71d0 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -580,7 +580,7 @@ test -e ../afl-gcc-fast -a -e ../afl-gcc-rt.o && {
 }
 
 $ECHO "$BLUE[*] Testing: shared library extensions"
-cc -o test-compcov test-compcov.c > /dev/null 2>&1
+cc $CFLAGS -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 && {