summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-04-25 23:04:29 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-04-25 23:04:29 +0900
commit633aec38f573ca34ef1336a2b1cb46462d4893b0 (patch)
tree73f20651aa32bb8998a5461bb0a3f3c6987ba080
parent35a9aff8e1caaaa18bce82e93a54b12e73c897c2 (diff)
parentd1b402a23c6a736d71b44a4ac36266fa605be652 (diff)
Merge pull request #554 from gene-pavlovsky/patch-1
Fix missing reference to UNAME_M
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index cd282892..5d5779bf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,8 @@ else ifeq ($(UNAME_S),Linux)
endif
endif
-ifneq ($(shell uname -m),x86_64)
+UNAME_M := $(shell uname -m)
+ifneq ($(UNAME_M),x86_64)
$(error "Build on $(UNAME_M) is not supported, yet.")
endif