about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-08 18:07:39 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-08 18:07:39 +0100
commite6685436d8c8e5a346b3aa10b9d28098c1ca2dd7 (patch)
tree62e8b70a8210da308620b71fab193f71bfef2a8a /Makefile
parent5fa4f47baec7e3dc78e685f9f8a44bf34c3eba53 (diff)
parenta93e11b79702eece7bda93bc8646c0bb9c2b0b64 (diff)
downloadafl++-e6685436d8c8e5a346b3aa10b9d28098c1ca2dd7.tar.gz
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70eac6b9..5af8444a 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,9 @@ endif
 ifneq "$(shell uname -m)" "x86_64"
  ifneq "$(shell uname -m)" "i386"
   ifneq "$(shell uname -m)" "amd64"
+   ifneq "$(shell uname -m)" "i86pc"
 	AFL_NO_X86=1
+   endif
   endif
  endif
 endif
@@ -109,10 +111,12 @@ endif
 
 ifneq "$(findstring FreeBSD, $(shell uname))" ""
   CFLAGS += -pthread
+  LDFLAGS  += -lpthread
 endif
 
 ifneq "$(findstring NetBSD, $(shell uname))" ""
   CFLAGS += -pthread
+  LDFLAGS  += -lpthread
 endif
 
 ifeq "$(findstring clang, $(shell $(CC) --version 2>/dev/null))" ""
@@ -423,7 +427,7 @@ endif
 
 	install -m 755 afl-as $${DESTDIR}$(HELPER_PATH)
 	ln -sf afl-as $${DESTDIR}$(HELPER_PATH)/as
-	install -m 644 docs/*.md docs/ChangeLog $${DESTDIR}$(DOC_PATH)
+	install -m 644 docs/*.md $${DESTDIR}$(DOC_PATH)
 	cp -r testcases/ $${DESTDIR}$(MISC_PATH)
 	cp -r dictionaries/ $${DESTDIR}$(MISC_PATH)