summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Pavlovsky <gene.pavlovsky@gmail.com>2016-04-24 21:24:10 +0300
committerGene Pavlovsky <gene.pavlovsky@gmail.com>2016-04-24 21:24:10 +0300
commitd1b402a23c6a736d71b44a4ac36266fa605be652 (patch)
tree73f20651aa32bb8998a5461bb0a3f3c6987ba080
parent35a9aff8e1caaaa18bce82e93a54b12e73c897c2 (diff)
Fix missing reference to UNAME_M
The `Build on $(UNAME_M) is not supported, yet` message was referencing an undefined UNAME_M. Fixed that.
-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