use uname -m instead of arch

dev
MITSUNARI Shigeo 7 years ago
parent 004afe9b49
commit 07d2febc32
  1. 5
      common.mk

@ -12,7 +12,7 @@ ifeq ($(UNAME_S),Darwin)
else
LIB_SUF=so
endif
ARCH?=$(shell arch)
ARCH?=$(shell uname -m)
DO_IT=0
ifeq ($(ARCH),x86_64)
DO_IT=1
@ -20,9 +20,6 @@ endif
ifeq ($(ARCH),amd64)
DO_IT=1
endif
ifeq ($(ARCH),OpenBSD.amd64)
DO_IT=1
endif
ifeq ($(DO_IT),1)
CPU=x86-64
INTEL=1

Loading…
Cancel
Save