From 1f648f2df22c9cf9b21493c90cc9f81035b98164 Mon Sep 17 00:00:00 2001 From: 0xDEADFACE Date: Thu, 15 Oct 2015 17:45:57 -0700 Subject: [PATCH] Use uname -m instead of lscpu for better compatibility. --- src/makefile.unix | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/makefile.unix b/src/makefile.unix index feda579..9671135 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -6,7 +6,7 @@ USE_LEVELDB:=0 USE_IPV6:=1 LINK:=$(CXX) -ARCH:=$(system lscpu | head -n 1 | awk '{print $2}') +ARCH:=$(shell uname -m) DEFS=-DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- 1.7.1