From b97f699e4a42c1573e086a22d5f76dfe41c2b19f Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 6 Feb 2018 01:55:48 +0200 Subject: [PATCH] Add a fallback in architecture identification. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f62f830a..24b3a71a 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,12 @@ else else SQ_ARCH = 32 endif + UNAME_M := $(shell uname -m) + ifeq ($(UNAME_M),x86_64) + SQ_ARCH = 64 + else + SQ_ARCH = 32 + endif endif ifdef ARCH