diff options
author | vanhauser-thc <vh@thc.org> | 2023-04-21 15:15:34 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-04-21 15:15:34 +0200 |
commit | 369ec31f0e1a40f5e617265fc199676175d36814 (patch) | |
tree | 1c93b6db347d0be4eb1be5b7495f5d5fca7ee916 | |
parent | 0a297ed9ef48c1eaf69fdc13bd1016f8f29124be (diff) | |
download | afl++-369ec31f0e1a40f5e617265fc199676175d36814.tar.gz |
debug output
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 0f890308..23cae65d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -286,6 +286,8 @@ ifeq "$(shell command -v svn >/dev/null && svn proplist . 2>/dev/null && echo 1 IN_REPO=1 endif +CCVER=$(shell cc -v 2>&1|tail -n 1) + ifeq "$(shell echo 'int main() { return 0;}' | $(CC) $(CFLAGS) -fsanitize=address -x c - -o .test2 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1" ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer -DASAN_BUILD ASAN_LDFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer @@ -431,7 +433,7 @@ endif .PHONY: ready ready: - @echo "[+] Everything seems to be working, ready to compile." + @echo "[+] Everything seems to be working, ready to compile. ($(CCVER))" afl-as: src/afl-as.c include/afl-as.h $(COMM_HDR) | test_x86 $(CC) $(CFLAGS) src/$@.c -o $@ $(LDFLAGS) |