From 33c132968e2fdc2c92bd74e4a302c174e963d3e9 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 12 Nov 2015 15:37:32 -0800 Subject: GitHub issue #219 -- make Linux makefile cross-compiler aware. --- make-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index eddef7fc..37e7b7ef 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -26,7 +26,7 @@ ifeq ($(origin CXX),default) CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi) endif -UNAME_M=$(shell uname -m) +UNAME_M=$(shell $(CC) -dumpmachine | cut -d '-' -f 1) INCLUDES= DEFS=-DZT_ENABLE_CLUSTER -- cgit v1.2.3