about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <hexcoder-@github.com>2020-01-18 16:35:21 +0100
committerhexcoder- <hexcoder-@github.com>2020-01-18 16:35:21 +0100
commit0eec6221554c260b2d93de73e88c2279c4479753 (patch)
tree5fadd1cf0b31ae3310803f57bb7f1bca5d89f909
parent08691fcc974a9fcf2df3e926959b21199df7e946 (diff)
downloadafl++-0eec6221554c260b2d93de73e88c2279c4479753.tar.gz
Intel test taken from lto branch, extended (as in test.sh), and tested on RaspberryPi
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dbb37feb..7260ee47 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,14 @@ ifeq "$(shell echo 'int main() {return 0; }' | $(CC) -x c - -march=native -o .te
 	CFLAGS_OPT = -march=native
 endif
 
+ifneq "$(shell uname -m)" "x86_64"
+ ifneq "$(shell uname -m)" "i386"
+  ifneq "$(shell uname -m)" "amd64"
+	AFL_NO_X86=1
+  endif
+ endif
+endif
+
 CFLAGS     ?= -O3 -funroll-loops $(CFLAGS_OPT)
 CFLAGS     += -Wall -g -Wno-pointer-sign -I include/ \
               -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \