aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-03-02 04:29:01 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-03-02 04:29:01 +0800
commit9b1df7bac20050ea89db61f6bd7c37c176f2e5a1 (patch)
tree166f04810af92744122c4d6f6ad933e627e7bd77
parent101d2470b1933a011ebb96daf93bfb111732553f (diff)
downloadtangerine-mcl-9b1df7bac20050ea89db61f6bd7c37c176f2e5a1.tar.gz
tangerine-mcl-9b1df7bac20050ea89db61f6bd7c37c176f2e5a1.tar.zst
tangerine-mcl-9b1df7bac20050ea89db61f6bd7c37c176f2e5a1.zip
accept amd64 as x86_64
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index e7613fd..245c3e0 100644
--- a/common.mk
+++ b/common.mk
@@ -10,7 +10,14 @@ ifeq ($(UNAME_S),Darwin)
LDFLAGS+=-L/usr/local/opt/openssl/lib
endif
ARCH?=$(shell arch)
+DO_IT=0
ifeq ($(ARCH),x86_64)
+ DO_IT=1
+endif
+ifeq ($(ARCH),amd64)
+ DO_IT=1
+endif
+ifeq ($(DO_IT),1)
CPU=x86-64
INTEL=1
BIT=64