about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-18 18:39:03 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-21 13:14:34 +0200
commit09c8e40363f4438742a15d1c0a5e88531d1eb50e (patch)
tree7753c8087341996a5d855845041356ac09f28e0c
parent8e44c06a136e6495fe4645cbaed96a92a6396f40 (diff)
downloadafl++-09c8e40363f4438742a15d1c0a5e88531d1eb50e.tar.gz
better detection of intel cpu on 32-bit Linux
-rw-r--r--GNUmakefile2
m---------unicorn_mode/unicornafl0
2 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 11dfa803..7c20a172 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -59,7 +59,7 @@ ifneq "$(shell uname)" "Darwin"
 endif
 
 ifneq "$(shell uname -m)" "x86_64"
- ifneq "$(shell uname -m)" "i386"
+ ifneq "$(patsubst i%86,i386,$(shell uname -m))" "i386"
   ifneq "$(shell uname -m)" "amd64"
    ifneq "$(shell uname -m)" "i86pc"
 	AFL_NO_X86=1
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
deleted file mode 160000
-Subproject 4c2bff41deae2701fc3ebc2bba7a16c5f195713