about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-07-03 12:11:02 +0200
committervan Hauser <vh@thc.org>2019-07-03 12:11:02 +0200
commitaaa810c64a7d54d21df6c74c3f7b77fb06d273fe (patch)
tree1d18a0ce8cece487c40200179995f1ea00eff573 /Makefile
parentcc48f4499a6b4d646c19b99c0905324161eb03ed (diff)
downloadafl++-aaa810c64a7d54d21df6c74c3f7b77fb06d273fe.tar.gz
add -lrt with afl-gcc/clang automatically in mmap mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7acdd049..14b5ce0e 100644
--- a/Makefile
+++ b/Makefile
@@ -176,10 +176,10 @@ endif
 all_done: test_build
 	@if [ ! "`which clang 2>/dev/null`" = "" ]; then echo "[+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc."; fi
 	@echo "[+] All done! Be sure to review the README - it's pretty short and useful."
-ifeq "$(SHMAT_OK)" "0"
-	@echo "[!] shmat isn't working on your platform - compile every target with -lrt:"
-	@echo "[!]  CFLAGS=-lrt LDFLAGS=-lrt CC=afl-gcc CXX=afl-g++ ./configure"
-endif
+#ifeq "$(SHMAT_OK)" "0"
+#	@echo "[!] shmat isn't working on your platform - compile every target with -lrt:"
+#	@echo "[!]  CFLAGS=-lrt LDFLAGS=-lrt CC=afl-gcc CXX=afl-g++ ./configure"
+#endif
 	@if [ "`uname`" = "Darwin" ]; then printf "\nWARNING: Fuzzing on MacOS X is slow because of the unusually high overhead of\nfork() on this OS. Consider using Linux or *BSD. You can also use VirtualBox\n(virtualbox.org) to put AFL inside a Linux or *BSD VM.\n\n"; fi
 	@! tty <&1 >/dev/null || printf "\033[0;30mNOTE: If you can read this, your terminal probably uses white background.\nThis will make the UI hard to read. See docs/status_screen.txt for advice.\033[0m\n" 2>/dev/null