about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9913c603..a24092fc 100644
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,11 @@ ifneq "$(shell uname -m)" "x86_64"
  endif
 endif
 
+#support for qemu on arm
+ifneq "$(findstring arm, $(shell uname -m))" ""
+	export CPU_TARGET=arm
+endif
+
 CFLAGS     ?= -O3 -funroll-loops $(CFLAGS_OPT)
 override CFLAGS     += -Wall -g -Wno-pointer-sign -I include/ \
               -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \