From 6b758d652db1f0eae526ec62b0ccb9bcd303b1f4 Mon Sep 17 00:00:00 2001
From: pwpiwi <pwpiwi@users.noreply.github.com>
Date: Wed, 16 Aug 2017 08:50:31 +0200
Subject: [PATCH] Prevent using x86 SIMD compiler flags on aarch64 (ARM)
 architecture

---
 client/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/Makefile b/client/Makefile
index 471d2f54..fb6520a9 100644
--- a/client/Makefile
+++ b/client/Makefile
@@ -162,7 +162,7 @@ cpu_arch = $(shell uname -m)
 ifneq ($(findstring 86, $(cpu_arch)), )
 	MULTIARCHSRCS = hardnested/hardnested_bf_core.c hardnested/hardnested_bitarray_core.c
 endif
-ifneq ($(findstring 64, $(cpu_arch)), )
+ifneq ($(findstring amd64, $(cpu_arch)), )
 	MULTIARCHSRCS = hardnested/hardnested_bf_core.c hardnested/hardnested_bitarray_core.c
 endif
 ifeq ($(MULTIARCHSRCS), )
-- 
2.39.5