From: pwpiwi <pwpiwi@users.noreply.github.com>
Date: Wed, 16 Aug 2017 06:50:31 +0000 (+0200)
Subject: Prevent using x86 SIMD compiler flags on aarch64 (ARM) architecture
X-Git-Tag: v3.1.0~181
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/6b758d652db1f0eae526ec62b0ccb9bcd303b1f4

Prevent using x86 SIMD compiler flags on aarch64 (ARM) architecture
---

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), )