support for arm platform when building qemu

This commit is contained in:
hexcoder- 2020-03-21 22:11:07 +01:00
parent 42ece199c8
commit 96736309a7

View File

@ -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)\" \