about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMaik Betka <9078425+voidptr127@users.noreply.github.com>2023-04-21 16:48:47 +0200
committerGitHub <noreply@github.com>2023-04-21 16:48:47 +0200
commite99d4ba976721127e16493a6b5ad8387fdaa9821 (patch)
treed19a6abca770c0ad2340722c69e0d5ff3bacab58 /GNUmakefile
parentde717cd2255f05361b6a7b8eaeec40b15cb878af (diff)
parentdae5f94bce9ae1256f455dd6f281ae2f7d33f924 (diff)
downloadafl++-e99d4ba976721127e16493a6b5ad8387fdaa9821.tar.gz
Merge pull request #2 from AFLplusplus/dev
Dev
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
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)