From cfa7119fdb3931093db07109d00808cda70aa604 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Fri, 28 Dec 2012 08:59:41 +0000 Subject: [PATCH] Got it working on arm :) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b8d953d..fb429a1 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,12 @@ ifneq ("$(MINGW)", "") GMQCC = gmqcc.exe TESTSUITE = testsuite.exe else + #arm support for linux .. we need to allow unaligned accesses + #to memory otherwise we just segfault everywhere + ifneq (, $(findstring $(shell uname -m), "arm")) + CFLAGS += -munaligned-access + endif + QCVM = qcvm GMQCC = gmqcc TESTSUITE = testsuite -- 2.39.2