From 09c8e40363f4438742a15d1c0a5e88531d1eb50e Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 18 Apr 2020 18:39:03 +0200 Subject: [PATCH] better detection of intel cpu on 32-bit Linux --- GNUmakefile | 2 +- unicorn_mode/unicornafl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 160000 unicorn_mode/unicornafl 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 index 4c2bff41..00000000 --- a/unicorn_mode/unicornafl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4c2bff41deae2701fc3ebc2bba7a16c5f1957130