From 96736309a701b54ed74bde6ea6e7ad88a5f608c5 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 21 Mar 2020 22:11:07 +0100 Subject: [PATCH] support for arm platform when building qemu --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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)\" \